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

GETMAIN - Acquire storage from GDSA (above 2GB)


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Wed Oct 12, 2011 1:28 pm
Reply with quote

From the below link it seems that we can GETMAIN to acquire storage from GDSA:

publib.boulder.ibm.com/infocenter/cicsts/v3r2/index.jsp?topic=%2Fcom.ibm.cics.ts.performance.doc%2Ftopics%2Fdfht3_stats_stgmgr_0stat_above2GB.html

Not able to find the OPTIONs on GETMAIN command which will help in acquiring the storage from GDSA.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Oct 12, 2011 1:45 pm
Reply with quote

here is the link for GETMAIN Syntax

unless you specify the BELOW option, the memory will come from Above the 16Meg line.
which is what GDSA is.

from your link wrote:
above the bar dynamic storage area (GDSA)


you need to learn to read all of the information,
not just look at the pictures. icon_lol.gif
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 12, 2011 2:07 pm
Reply with quote

Perhaps you just have to dig more for your answer.

If GETMAINs are possible above 2GB (since they are listed in the stats you point to) and you can find no new syntax for GETMAIN, perhaps it just means CICS satisfies your GETMAIN without you having to know where it is - as dbz says, if not below then it is above 16mb.

You'll probably have to keep digging to confirm this. If you feel the GETMAINs aren't going there because your system is still SOSing, then maybe you (or your technical staff) have to see if anything needs to be changed in the set-up to allow things to happen.

Have you tried listing the statistics from your system as the first obvious thing?

Do you have a little test CICS which you can risk blowing-up at some point without disturbing others? You could intersperse the GETMAINs and the stats and see if you can push the GETMAIN above into 2GB?
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Wed Oct 12, 2011 2:18 pm
Reply with quote

dbz,

get updated on the GETMAIN command:

publib.boulder.ibm.com/infocenter/cicsts/v4r2/index.jsp?topic=%2Fcom.ibm.cics.ts.performance.doc%2Ftopics%2Fdfht3_stats_stgmgr_0stat_above2GB.html

Current syntax does not allow to acquire storage above 2GB.

Hence i posted in this forum.

Bill,

Thanks for your advise.
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Wed Oct 12, 2011 2:20 pm
Reply with quote

Apologies,

exact link to get updated on GETMAIN

publib.boulder.ibm.com/infocenter/cicsts/v4r2/index.jsp?topic=%2Fcom.ibm.cics.ts.applicationprogramming.doc%2Fcommands%2Fdfhp4_getmain.html&resultof=%22%67%65%74%6d%61%69%6e%22%20
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 12, 2011 2:44 pm
Reply with quote

So you have a conundrum. The report shows no of GETMAIN/FREEMAIN above 2GB, yet you explicitly can't do GETMAIN/FREEMAIN above 2GB.

dbz can hardly be blamed for that, can he?

If you are seriously considering this for a necessary business task, do all the research you can, understand it all, and put in a call to "Hursley".

The usage shown for above 2GB that I found by traversing your links is not an everyday sort of thing. Until the use above 2GB is "transparent" to a CICS application programmer, I think you're probably on the wrong route.
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Wed Oct 12, 2011 3:58 pm
Reply with quote

Bill, yes its a conundrum.I will follow it up with IBM experts on CICS storage and update the oucome in this post.Was informing DBZ, that GETMAIN syntax doesn't support acquiring storage above 2GB.No intention of blaming.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Oct 12, 2011 4:09 pm
Reply with quote

yes,
as usual,
someone is a little thin skined about being called on their BS,

I never said above the 2gb line,
infact,
CICS has never really allocated above the 2 gb line,
only above and below the 16mg line.

but what are facts when we are really talking about face?
Back to top
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Wed Oct 12, 2011 5:09 pm
Reply with quote

I seem to remember being told at Hursley that 'above the bar' storage is only available to Assembler at this time. Since most applications are developed using HLL, the CICS API does not support 'above the bar' storage. CICS itself, however, does exploit 'above the bar' storage so you do get stats on usage above 3Gb.

Garry.
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Wed Oct 12, 2011 5:19 pm
Reply with quote

Garry, Thanks for the information.
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Wed Oct 12, 2011 5:31 pm
Reply with quote

The BAR - 2 GB
The LINE - 16 MB

Above THE BAR is GDSA.Above THE LINE is not GDSA (as mentioned in replies to this post).
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 12, 2011 5:34 pm
Reply with quote

If a given program is COBOL, obtaining above-the-bar storage will not be addressable because COBOL hasn't been modified yet. However, the COBOL committee has plans to do so in the not to distant future.

I guess they had no other choice than to comply, as PL/I, C and Java are 64-Bit compliant (as well as Assembler) and with the billions of lines of COBOL executed daily (and not going away), it would only make sense.

But, acquiring 64-Bit storage in CICS was newly introduced with TS/4.2 as I don't recall it being available in TS/4.1 as well as any other TS Version/Release.

MEMLIMIT, for 64-Bit storage, was introduced with TS/3.2, mainly for CHANNEL and CONTAINER API usage above the bar, but not necessarily for 64-Bit data in a given program as not all languages have this addressability compliance, like COBOL.

Mr. Bill
Back to top
View user's profile Send private message
Eshwar CICS

New User


Joined: 18 May 2011
Posts: 47
Location: India

PostPosted: Wed Oct 12, 2011 5:41 pm
Reply with quote

Truly amazing response Bill. I am finding it hard to integrate CHANNELS & CONTAINERS with the COBOL programs(when pushed to limits in terms of storage).CHANNELS & CONTAINERS can support huge data whereas to process that data we dont have proper storage mechanisms in Application programs.Again, many thanks for this wonderful response which gives a clear understanding of the limitation.
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts CICS vs LE: STORAGE option CICS 0
No new posts Insufficient Storage ABENDS & Debugging 7
No new posts Interviewers are surprised with my an... Mainframe Interview Questions 6
No new posts is there an API to use cloud storage ... All Other Mainframe Topics 2
Search our Forums:

Back to Top