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

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


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

New User


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

PostPosted: Thu Jan 31, 2013 9:56 pm
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: 1306
Location: Vilnius, Lithuania

PostPosted: Thu Jan 31, 2013 10:00 pm
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: 7
Location: Victoria,BC,Canada

PostPosted: Thu Jan 31, 2013 10:11 pm
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: 1306
Location: Vilnius, Lithuania

PostPosted: Thu Jan 31, 2013 10:14 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts exploiting Z16 performance PL/I & Assembler 2
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Products/Tools to Optimize Adabas Dat... Compuware & Other Tools 2
No new posts Which SORT utility can improve the Pe... DFSORT/ICETOOL 16
No new posts COBOL Performance Tuning COBOL Programming 6
Search our Forums:

Back to Top