Joined: 04 Dec 2002 Posts: 8 Topics: 3 Location: St.Louis, MO, USA
Posted: Mon Dec 22, 2003 10:31 am Post subject: Condtion Codes - Which Is Correct
Hi,
There is a JCL with the following steps
.
.
//STEP1 EXEC PROC1
.
.
//STEP5 EXEC PGM=IEBGENER, COND=(4,LE,STEP1.STEP2)
.
.
The datacenter standard is to have a JCL execute only PROCs and hence we are required to convert the likes of STEP5 into a PROC and hence we will have the following-
JCL
.
.
//STEP5 EXEC PROC2
Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
Posted: Mon Dec 22, 2003 4:02 pm Post subject:
Ganti,
If I understand correctly the reason that JEM/Jobscan gets an error is that it cannot know that the procedure is being invoked by a JOB that has other steps. If I remember correctly, in the abscence of a JOB (e.g. when scanning a procedure on it's own) it generates/assumes a JOB that simply invokes the procedure being scanned, basically circumventing the no JOB statement error. Thus you would expect to get the STEP1.STEP2 not found error. Really you should be scanning the JOB, as the procedure is only used if invoked by a JOB. _________________ Regards,
Mike.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum