Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts WER268A OUTREC STATEMENT : SYNTAX E... frozenblood87 SYNCSORT 12 Sat Aug 26, 2017 9:45 pm
No new posts Suppress value reported by BREAK in D... Learncoholic DFSORT/ICETOOL 3 Wed Aug 16, 2017 6:03 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us