What about STC? And how is batch TSO reported?
Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Farley, Peter x23353 Sent: Friday, June 30, 2017 1:05 PM To: [email protected] Subject: Re: Assembler program If I may make an alternate suggestion, assuming your program is already LE-enabled (HLL or LE-enabled assembler) there is the CEEINF LE callable subroutine which returns a fullword of flags where the bits tell you where you are executing: 0 Currently executing in the CICS environment 1 Currently executing in a CICS_PIPI environment 2-3 Reserved for other specific CICS environments 4 Currently executing in a TSO environment 5 Currently executing in a Batch environment 6 Currently executing in a z/OS UNIX environment 7-28 Reserved for future use 29 Currently executing on z/VSE(r) 30 Currently executing on z/OS 31 Reserved. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
