IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Function of the parameter REORDER in Procedure statement


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Thiraviam
Currently Banned

New User


Joined: 08 Jun 2006
Posts: 1

PostPosted: Thu Feb 15, 2007 11:25 am
Reply with quote

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
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Thu Feb 15, 2007 4:47 pm
Reply with quote

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
View user's profile Send private message
daredevil

New User


Joined: 30 Dec 2005
Posts: 9

PostPosted: Fri Feb 16, 2007 12:34 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Calling an Open C library function in... CICS 1
No new posts DATE2 function SYNCSORT 15
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Help on PL/I jsonPutValue function PL/I & Assembler 8
No new posts how to use Tso outtrap external function All Other Mainframe Topics 8
Search our Forums:

Back to Top