I am not authorized to run any STC's so I could not tell you what those would 
report.  If I had to guess, I would think STC just looks like normal batch (bit 
5).

I have not tried to see the results when running a program that I wrote under 
TSO / IJFEFTxx in batch.  I would think it would be logical for both TSO and 
Batch to be returned, but I haven't tested so I cannot say for sure.

Peter

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Charles Mills
Sent: Friday, June 30, 2017 5:01 PM
To: [email protected]
Subject: Re: Assembler program

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.

----------------------------------------------------------------------

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to