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
 

 

How to use OPTIMIZE options in PL/I for optimal performance

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
CyberKing

New User


Joined: 13 Sep 2007
Posts: 6
Location: Victoria,BC,Canada

PostPosted: Thu Jan 31, 2013 9:56 pm    Post subject: How to use OPTIMIZE options in PL/I for optimal performance
Reply with quote

I know using OPTIMIZE or OPT can compiler options for optimal performance, however, no idea how it is usedin PL/I code? could anyone give me a sample. thanks !

--- BTW, I'm lazy,search all the docs no sample regarding how to use in PL/I code....
Back to top
View user's profile Send private message

prino

Senior Member


Joined: 07 Feb 2009
Posts: 1002
Location: Oostende, Belgium

PostPosted: Thu Jan 31, 2013 10:00 pm    Post subject:
Reply with quote

Code:
*process opt(3);

as first line of your source.

But there are far more factors that determine the final performance of the code...
Back to top
View user's profile Send private message
CyberKing

New User


Joined: 13 Sep 2007
Posts: 6
Location: Victoria,BC,Canada

PostPosted: Thu Jan 31, 2013 10:11 pm    Post subject:
Reply with quote

Thanks prino ! so put '*process opt(3);' after PROC declaration like this ?

ABC:PROC (IO_PCB_PTR,EX_PCB_PTR) OPTIONS(MAIN) REORDER;
*process opt(3);
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1002
Location: Oostende, Belgium

PostPosted: Thu Jan 31, 2013 10:14 pm    Post subject:
Reply with quote

What is too difficult to understand about first line of your source?
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 BC, BCR, BRC, BRCL performance steve-myers PL/I & Assembler 0 Fri Dec 23, 2016 7:44 am
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts What are the way we can improve CPU p... Gunapala CN DB2 10 Mon Oct 24, 2016 2:16 pm
No new posts DB2 Unload format options Susanta DB2 2 Fri Aug 12, 2016 5:42 pm
No new posts Can we use OPTIMIZE FOR 1 ROWS for fe... cvijay784 DB2 1 Fri Aug 05, 2016 11:56 am


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