Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Function of the parameter REORDER in Procedure statement

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: Function of the parameter REORDER in Procedure statement
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Thu Feb 15, 2007 4:47 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us