Phil Payne wrote:

> > Maybe the program was converted from VSE which, in the days 
> when it was DOS anyhow, used an SVC macro to "end the job".
> 
> So, effectively, does z/OS.  ISTR that R14 in a jobstep  programme points
directly 
> at an SVC 3 instruction.

It points at CVTEXIT, which contains a handy SVC 3. Unless you are running
under TSO TEST, in which case it points to an SVC 97, which has fooled more
than one program that tries to decide if its task is about to end.

> You used to be able to tell if you were the jobstep programme by looking
at that.

That I doubt; all programs initially getting control from the operating
system have R14 pointing at CVTEXIT.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to