Q

Storage page/page fault

A reader was concerned about the repeated use of size of SECTION and his runtime footprint in his legacy system. Expert Mark Zelden has a solution.

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?

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

Dig deeper on Mainframe operating systems and management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchWindowsServer

SearchEnterpriseLinux

SearchServerVirtualization

SearchCloudComputing

Close