Getting the old QSAM assembler code to run in AMODE 31 is fairly trivial (probably -- I have not seen the code). Best case no code changes whatsoever are necessary.
It is RMODE ANY that takes some effort. So you should be able to make AMODE switching a non-event. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Barkow, Eileen Sent: Thursday, July 14, 2011 10:30 AM To: IBM-MAIN@bama.ua.edu Subject: Re: running Assembler I/O macro code as AMODE 31, RMODE ANY The programmer has a question about possible TCB switching: Option 2 seems better. DATA(31) should allow most of the callers storage to reside above the line, and switch to below the line processing only when calling the assembler routine. Would excessive TCB switching result if the assembler program is invoked repeatedly for file i/o, or does that not come into play? HTH ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html