I have been obliged to examine a response I made to this thread in
excruciating detail prompted by some private correspondence. In the course
of picking over the issue I may have managed to discover a fundamental
misunderstanding which has caused much "heat". So perhaps explaining it to
all and sundry may shed some "light" on the matter.

It concerns Phil Payne's post of Mon 6 Nov 2006 18:32:

<quote>

> 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.   You used to be able to tell if you were
the jobstep programme by looking at that.

</quote>

Many contributors pointed out that the test mentioned at the end of this
post does not really work since finding register 14 pointing to CVTEXIT (an
SVC 3 instruction) applies to any code entered using "supervisor assisted
linkage". Tony Harminc (Mon 6 Nov 2006 19:16) seems to suspect Phil's point
may apply to code entered using "programmer linkage", that is, the use of
the register 1, 13, 14 and 15 conventions when "calling" routines and "being
called by" routines. It is only Pat O'Keefe (Tues 7 Nov 2006 01:18) who
seems to have made the "programmer linkage" assumption - which I thought was
a misunderstanding until I realised
everyone else had jumped to possibly the wrong conclusion, namely, that that
Phil had "tasks" - and possibly other "supervisor assisted linkage" cases -
in mind rather than nested routines using "programmer linkage".

Chris Mason

----------------------------------------------------------------------
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