View previous topic :: View next topic
|
Author |
Message |
Thiraviam Currently Banned New User
Joined: 08 Jun 2006 Posts: 1
|
|
|
|
Can anyone explain me the function of the parameter REORDER used in the PROCEDURE statement of some of the PL/I programs.
Ex:
ENTRY: PROCEDURE REORDER;
Thanks and Regards,
Thiraviam |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
From the fine manual (top line / manuals / PLI):
Quote: |
3.1.1.7.6 (RE)ORDER
The DEFAULT(ORDER) option indicates that the ORDER option is applied to every block, meaning that variables in that block referenced in ON-units (or blocks dynamically descendant from ON-units) have their latest values. This effectively prohibits almost all optimization on such variables. Consequently, if your program logic allows, use DEFAULT(REORDER) to generate superior code.
|
|
|
Back to top |
|
|
daredevil
New User
Joined: 30 Dec 2005 Posts: 9
|
|
|
|
The REORDER option is used for optimizing the code. The register or starage allocations allocated for the program execution is optimized by this option.
Thanks
Daredevil |
|
Back to top |
|
|
|