Absolutely not. Binyamin qualified his answer with "... where the mode you wish to return in is the same at entry to the routine." When called by BASSM, that is not the case.
The OP's code was to solve a particular problem with a particular program. Nothing about it should be taken as good for anything. sas On Wed, Aug 12, 2020 at 12:33 PM Gary Weinhold <[email protected]> wrote: > Are we to conclude from that this discussion that this is a reliable way > to ensure that an AMODE 31 subroutine returns control to its caller in > the correct amode? > >
