10-04-2005 5:13 PM
We have 1 program ztest with E type and other one ztest1 with I type,
A-
Then how it will align in our program??????
Is it like-
Program ztest.
Include ztest1.
B-
If suppose we doing
*Program ztest.
Include ztest1.
Will it run properly or give syntax error?
C-
If suppose we doing
Program ztest.
*Include ztest1.
Will it run properly or give syntax error?
D-
If suppose we doing
Program ztest.
*Include ztest1.
Will it run properly or give syntax error?
10-04-2005 5:21 PM
A) yes, you first have your REPORT or PROGRAM statement, then have your includes.
b) If you comment out the program statement, you will get a syntax error, you always need a REPORT or PROGRAM statement in a report program.
c) You can comment out the include statement. if there are any calls to FORMs which are included in the include program, you will get a sytax error.
d) Again, you need the PROGRAM or REPORT statement.
Please remember to award points for all helpful answers to your questions. Thanks.
Regards,
Rich Heilman
10-04-2005 5:52 PM
10-04-2005 5:25 PM
A is right,
B will give error saying cannot execute include
C will not give error and run fine, but if you are using any perform or variable defined in ztest1 then it will give error.
D it will error it does not have program and report defined.
E is excutable and I is include.
10-04-2005 5:51 PM
10-04-2005 6:59 PM