View previous topic :: View next topic |
Author |
Message |
manojagrawal Beginner
![](images/avatars/gallery/cartoons/WB30.gif)
Joined: 25 Feb 2003 Posts: 124 Topics: 29
|
Posted: Mon May 26, 2003 9:18 am Post subject: What do the opening lines in PL/I Imply. |
|
|
Hi,
Can anyone tell me what these first 2 lines in PL/I imply and wrt IMS what happens:
Quote: |
Progname /* 03/24/03-11:36:45 */:
PROC OPTIONS(MAIN) REORDER; |
Thanks & Regards
Manoj. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Mon May 26, 2003 9:38 am Post subject: |
|
|
Manoj,
The first line seems to be a date of when the program is written/modified. Now as for the second , here is the explanation.
The procedure given initial control at run time must have the OPTIONS(MAIN) attribute. If more than one procedure has the MAIN option, the first one encountered by the linkage editor receives control.
ORDER or REORDER :ORDER and REORDER are optimization options that are specified for a procedure or begin-block.
The REORDER option allows the compiler to generate optimized code to produce the result specified by the source program when error-free execution takes place.
ORDER indicates that only the most recently assigned values of variables modified in the block are available for ON-units that are entered because of computational conditions raised during statement execution and expressions in the block.
These options has nothing to do with IMS
Hope this helps...
cheers
kolusu |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|