I guess it depends what you mean by "I would like to use 64bit storage for some functions from Cobol." If the Cobol part is never going to directly use the memory, then there's no problem in a called program in another language using above the bar storage. Just remember to SAM 31 before you return to Cobol (unless you use one of the "calls" that automatically returns you in the correct amode.)
In article <[email protected]> you wrote: > All, > C and C++ I know supports it , If my old eyes read correctly. Hlasm does. If > I am just using 64bit storage to store/retrieve data that should work? > Scott ford > www.identityforge.com > from my IPAD > > On Oct 17, 2014, at 2:11 PM, Don Poitras <[email protected]> wrote: > > > > In article > > <CAFMxNWL0GLo1kCpEMokfozjhqVBN8VyUHUON4eWxC=c5Y=8...@mail.gmail.com> you > > wrote: > >> I was interpreting Scott's question as how can above-the-bar memory be used > >> directly by COBOL. > > > > Which is why Peter was confused. No such support currently exists. While > > there's been a lot of talk about AMODE 64 COBOL, it's not there today. > > > >>> 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. -- Don Poitras - SAS Development - SAS Institute Inc. - SAS Campus Drive [email protected] (919) 531-5637 Cary, NC 27513 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
