IBM did good in that nested procs can be really useful. I just wish that
they would go the whole way and fully implement RESTART= and REFERBACKS
for them. I did find a work-around in that if you add //RS#XXX EXEC
PGM=IEFBR14 in the FIRST proc you invoke, in front of every nested proc,
that allows you to re-start at any given nested proc, but not within the
nested proc. (Wow, that's a nested sentence). For example:
//JOBNAME JOB CLASS=A,MSGLCASS=X,
//* RESTART=JS001.RS#001, * this will work (if un-commented)
//* RESTART=JS001.RS#002, * this will work (if un-commented)
//* RESTART=JS001.RS#003, * this will work (if un-commented)
// COND=(00,NE)
//JS001 EXEC PROC=PROC01
//
Where PROC01 looks like:
//PROC01 PROC
//RS#001 EXEC PGM=IEFBR14
//NEST01 EXEC PROC=NEST01
//RS#002 EXEC PGM=IEFBR14
//NEST02 EXEC PROC=NEST02
//RS#003 EXEC PGM=IEFBR14
//NEST03 EXEC PROC=NEST03
This doesn't help if you want to start WITHIN the nested proc,
but, it does give a better opition than re-running the whole job.
----------------------------------------------------------------------
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