Skip to Content
author's profile photo
Former Member

REPORT

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?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Oct 04, 2005 at 04: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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 04, 2005 at 04: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.

    Add comment
    10|10000 characters needed characters exceeded