On Fri, 17 Oct 2014 16:36:38 -0400, Don Poitras wrote:

>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.)

If you have an assembler called program, you don't need to issue SAM31 before 
returning as long as you were called with one of BASSM, BASR or BALR. In all of 
these cases the return register (R14) contains sufficient information so that 
BSM will return correctly.

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to