If my memory serves me correctly, 30 years ago the use of SECTION in a COBOL program forced a new storage page/page fault.  (I don't remember what the page size was.)  Does it still do that?  Is the repeated use of SECTION in our COBOL, CICS, Legacy system increasing the size of our runtime footprint?  Could the application be page faulting/thrashing on unfilled pages?

Requires Free Membership to View

With the speed and the amount of memory of today's machines this is nothing to worry about. The compiler is also smarter than it used to be. Even if it was true, it wouldn't be a performance penalty unless that code was executed perhaps thousands of times per second and then the page would probably be in cache anyway. Don't worry, be happy.

If you are really interested in COBOL performance, I would look at the performance considerations documented in the COBOL manuals for the release of the compiler you are using. Here are some links to various versions:

COBOL for OS/390 & VM V2R2
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IGYSH211

Enterprise COBOL for z/OS and OS/390 V3R2
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IGY3SH10

Enterprise COBOL for z/OS V3R3
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IGY3SH20

You can find any other manuals here:
http://www-03.ibm.com/servers/eserver/zseries/zos/bkserv/zapplsbooks.html

This was first published in June 2006

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: