Home > Data Center Tips > > What is the CICS grande dynamic storage area?
Data Center Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


What is the CICS grande dynamic storage area?


Robert Crawford, Contributor
07.27.2009
Rating: -5.00- (out of 5)


IT infrastructure news
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


As some of us older folks may remember, OS/390 1.10 introduced 64-bit addressing to the mainframe, vastly expanding on previous the 2G address space limit. "The bar," as it's often referred to, is the 4G line. The memory above the 4G line is available for data, but at this time processors cannot execute instructions there.

IBM's CICS support spent several years trying to decide if they would support storage above the line. Then, after a statement of direction, CICS Transaction Server 3.2 introduced some limited support. Thus, the new release unveiled the grande dynamic storage area (GDSA).

As the G denotes, GDSA lives above the 4G bar. However, it plays by a few different rules. First, the maximum size of the GDSA is not specified in the CICS system initialization table (SIT). Instead, GDSA's size is defined by the MEMLIMIT applied by the operating system when CICS starts. The value for MEMLIMIT can come from several different places: CICS JCL, the SMFPRMxx member in SYS1.PARMLIB or SMF exit IEFUSI.

IBM stresses picking a good MEMLIMIT, because it generally can't be changed without an IPL or bouncing CICS. Fortunately, because the origin of the value can be a point of confusion, CICS helpfully includes the applied MEMLIMIT value in the DSA statistics records. IBM recommends a minimum MEMLIMIT of 2G.

Like other DSAs, CICS does not reserve GDSA in a phantom subpool that makes it unavailable to other programs. Instead, CICS gets the storage as needed. According to a dump I looked at, CICS allocates GDSA in 2G extents.

Short-on-storage (SOS) works a little differently, too. CICS considers GDSA SOS when the allocated storage reaches 90% of MEMLIMIT. The remaining 10% is considered the DSA cushion. As with other DSAs, the SOS condition is relieved when tasks end and storage becomes free.

In CICS/TS 3.2, CICS DSA (GCDSA) is the only DSA t...


BROWSE BY TAG
Mainframe operating systems and management,   Server hardware,   Mainframe computers,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Mainframe operating systems and management
Roadmap to mainframe application modernization
Improve CICS Web services security and handle Web transaction requests
Coding a simple mainframe cryptography program
How is CICS prepared for future IT market demands?
Why IBM should listen to Neon Software, customers on zPrime
Aussie financial firms dump Unix, Windows for Linux on the mainframe
Using cryptography on the mainframe: An amateur's guide
How mainframes fit into cloud computing
IBM z/OS 1.11 preview: New features and functions
Neon Software CEO rejects IBM warnings on mainframe licensing issues due to zPrime

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
epoch  (SearchDataCenter.com)
ISPF  (SearchDataCenter.com)
job  (SearchDataCenter.com)
Job Entry Subsystem  (SearchDataCenter.com)
job scheduler  (SearchDataCenter.com)
job step  (SearchDataCenter.com)
MVS  (SearchDataCenter.com)
P/390  (SearchDataCenter.com)
Remote Job Entry  (SearchDataCenter.com)
z/OS  (SearchDataCenter.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


ype available above the bar. The only subpool available is PGCSDB, which the program manager domain uses to store channel container segments. A quick look at the CICS/TS 4.1 information center shows IBM added two other subpools for CPSM and the CPSM Web User Interface (WUI).

GDSA statistics
It wouldn't be CICS if there weren't statistics for the new DSA. The storage manager global statistics added these fields among others.

SMSGETSTO SIZE The amount of storage requested when CICS issues an IARV64 macro to get memory above the bar. I assume this value doesn't change but is used instead for incrementally acquiring GDSA as needed.
SMSASACTIVE Storage available above the bar
SMSGDSAACTIVE Current amount of storage in use above the bar
SMSMEMLIMIT The MEMLIMIT value set by the system for CICS. This field will be "NOLIMIT" if a limit isn't imposed.

CICS provides the GDSA cushion size, although you can calculate that based on the 90% in use rule with the value in SMSMEMLIMIT. Note that, since storage above the bar requires a 64-bit address, the values in the table above are 8-byte integers instead of the traditional 4.

There will also be a DSA statistic record for GDSA containing the same information as for the other DSAs. It's important to note, however, that the size values are in megabytes. Thus, a 4G value will actually be 4096 in the record.

As mentioned above, storage above the line requires a 64-bit address, which I'm sure the vast majority of CICS system code isn't prepared to handle. IBM solved this problem by adding the S2SR gate to the storage manager (SM) domain. S2SR has two functions -- one to copy data from below the bar to above and another to do the opposite.

While this is a simple solution to the problem, it does raise a couple of other questions. First, it reveals a potential performance hit each time a transaction manipulates channels and containers. This becomes especially important in CICS' implementation of Web services that uses those facilities heavily. Second, while storage above the bar seems limitless, the storage below is not. I can foresee a situation where CICS goes SOS below the bar because there are too many transactions trying to fetch large objects out of GDSA at once.

From the CICS/TS 3.2 and 4.1 documentation, it seems CICS is taking some slow steps into exploiting above-the-bar memory. Perhaps in the future other memory-intensive facilities such as temporary storage will be tossed up there too. You might also make a case for moving nearly all system blocks above the bar, which would free up storage below the bar and put them out of reach of traditional CICS application programs. There is also the interesting notion of "shared memory objects," which would seem to be a very cheap way to share data across address spaces without using Common System Area.

Unfortunately, so far the support is geared for CICS' use and there's no indication when or if the application programming interface will be extended to 64-bit addressing. But the storage is there, and if you can figure out how to use the IARV64 macro you may write a program to get some of that storage for yourself.

ABOUT THE AUTHOR: For 24 years, Robert Crawford has worked off and on as a CICS systems programmer. He is experienced in debugging and tuning applications and has written in COBOL, Assembler and C++ using VSAM, DLI and DB2.

What did you think of this feature? Write to SearchDataCenter.com's Matt Stansberry about your data center concerns at mstansberry@techtarget.com.

Rate this Tip
To rate tips, you must be a member of SearchDataCenter.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



White Papers - Data Center Networking

The Intel IT Technology Center - Power, Performance and Mobility Solutions

HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts