On 30 June 2017 at 12:52, PINION, RICHARD W. <[email protected]> wrote:
> I need a program or snippet of code that determines if the program is being 
> executed from a TSO user or a batch job.

These are not mutually exclusive; you need to specify what you want in
a bit more detail.

Are you interested in whether there's a terminal attached? Whether the
program is a TSO command processor? Jobid like JOB12345 vs TSU12345
(or the more compressed new formats)? TSO segment info in the RACF
profile? There are more, I'm sure.

Tony H.

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

Reply via email to