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

COBOL Performance tuning


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Oct 17, 2012 2:17 am
Reply with quote

Just stepped on this link
www-01.ibm.com/software/awdtools/cobol/library/
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Oct 17, 2012 3:00 am
Reply with quote

Cool - Thanks icon_wink.gif

d
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Oct 17, 2012 4:34 am
Reply with quote

If you are unable to use wisely, wait until you are.

The best way to "tune" a program is to not do stuff which the program is doing but doesn't need to be doing.

You won't get much benefit from "tuning" a couple of data-items, but if you define everything optimally in all your programs, it will add up.

Don't just take from the documents at face-value. CALL STATIC VS DYNAM for instance. The more lines of generated code in the called program, the less you will notice the difference. The greater flexibility of DYNAM outweighs the strict "performance" issue in all but exceptional circumstances.

Compile option AWO. Don't use it. Don't be lazy. Use APPLY WRITE ONLY for each individual QSAM VB output file.

Remember, you can't just go changing compile options, either. If they generate code, be aware of possible consequences of running a whole bunch of programs with a mix of options which affect generated code. I'd not want to go there.

Stick to getting the code right, and doing that well. Blindly "tuning" at the code level will waste a lot of your time, and won't save the machine much.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top