Well, it seemed safer. As I said, I do not claim this is optimal. Someone else suggested offline that they thought it would work AMODE 31 just so long as the actual operands were below the line. I don't need to have this blow up at a customer's. The additional cost of doing it this way rather than without a move is one DS and one MVC (OTOH saving the "complexity" of an MF=E/L pair).
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Shmuel Metz (Seymour J.) Sent: Thursday, May 21, 2015 8:13 AM To: [email protected] Subject: Re: Where can a running TSO program get its "terminal name" In <[email protected]>, on 05/20/2015 at 05:13 PM, Charles Mills <[email protected]> said: >Thanks all for your suggestions. In the hope of helping a future >Googler, here is "How to Use GTTERM from an AMODE 31 Program." Why the complexity? As long a there's no RMODE24 requirement, why move the code to a work area? You still need the BASSM/BSM and the parameters below the line, but I don't see the need for more than a model GTTERM MF=L ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
