I was interpreting Scott's question as how can above-the-bar memory be used directly by COBOL.
On Fri, Oct 17, 2014 at 5:06 AM, Peter Relson <[email protected]> wrote: > Perhaps I misunderstood the problem. > > Whether called by the system, Cobol, or anything else, an HLASM routine > can get any storage that its authorization allows it to. That includes > storage below the bar, above the bar, and in data spaces. The routine can > switch in and out of any AMODE that its RMODE allows (e.g., an RMODE 31 > program better not "SAM24"). > > The caller needs to provide parameters in the form that the HLASM routine > wants (or conversely the HLASM routine needs to accommodate the parameters > that the caller provides; this is probably the easier approach). > > If you need the calling routine to then be able to deal with the storage > above 2G, that's a different matter entirely. > > Peter Relson > z/OS Core Technology Design > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
