Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

GETMAIN - Acquire storage from GDSA (above 2GB)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: GETMAIN - Acquire storage from GDSA (above 2GB)
Reply with quote

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

http://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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7226

PostPosted: Wed Oct 12, 2011 2:07 pm    Post subject: Reply to: GETMAIN - Acquire storage from GDSA (above 2GB)
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    Post subject:
Reply with quote

dbz,

get updated on the GETMAIN command:

http://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    Post subject:
Reply with quote

Apologies,

exact link to get updated on GETMAIN

http://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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7226

PostPosted: Wed Oct 12, 2011 2:44 pm    Post subject: Reply to: GETMAIN - Acquire storage from GDSA (above 2GB)
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    Post subject: Reply to: GETMAIN - Acquire storage from GDSA (above 2GB)
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    Post subject:
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

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Wed Oct 12, 2011 5:09 pm    Post subject:
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    Post subject: Reply to: GETMAIN - Acquire storage from GDSA (above 2GB)
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    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Oct 12, 2011 5:34 pm    Post subject: Reply to: GETMAIN - Acquire storage from GDSA (above 2GB)
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    Post subject: Reply to: GETMAIN - Acquire storage from GDSA (above 2GB)
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem with GETMAIN command amitc23 CICS 6 Thu Sep 01, 2016 1:01 pm
No new posts How storage is calculated for AN-Edit... Raghu navaikulam COBOL Programming 2 Wed Mar 09, 2016 3:51 pm
No new posts How can amount of the Storage Usage b... esduman61 CICS 6 Wed Mar 09, 2016 1:19 pm
No new posts CEE0813S Insufficient storage was ava... kishpra COBOL Programming 18 Mon Nov 09, 2015 8:37 pm
No new posts Doubt on GETMAIN, FREEMAIN behaviour Arunkumar Chandrasekaran CICS 3 Sun Aug 30, 2015 9:22 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us