Williams, Jeff wrote:

>My control blocks knowledge is rusty these days. 

Mine too. Not only rusty, but full of holes and missing paintwork. :-)
This is because of OCO thing...

>Is there a way for a program executing in one step to determine via code what 
>the program name was of the preceding step ?

What z/OS level? Are your program running in a batch, TSO? Is it part of 
another system (DB2 for example)?

Is your program called by another program? If so, it could be very difficult 
for you to find out, unless the first program somehow store its own name so it 
can picked up by your program.

>preceding step ?

Jobstep?

Groete / Greetings
Elardus Engelbrecht

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

Reply via email to