View previous topic :: View next topic
|
Author |
Message |
mf_karthik
New User
Joined: 26 Jul 2005 Posts: 55
|
|
|
|
HI TO ALL
I AM CALLING A PROC, IN THAT PROC THERE ARE 10 STEPS BUT IN MY JCL I WANT TO EXECUTE FIRT FIVE STEPS? HOW
WHAT IS TWO DIMENSIONAL ERROR? |
|
Back to top |
|
|
sumanthmain
New User
Joined: 22 Aug 2005 Posts: 14
|
|
|
|
good question..,
we can excute thouse five steps through JCL.
example:
//job1 job xxxxxxxxxxxxxxxxx
//PROCLIB DD DNS=XXXXXXXXXXX,
DISP=SHR
//EXEC1 EXEC PROC1
//STEP1.DD1 DD DSN=XXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXXXXXX
//STEP2.DD2 DD DSN=XXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXX
//STEP2.DD3 DD DSN=XXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXX
//STEP2.DD4 DD DSN=XXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXX
//STEP2.DD5 DD DSN=XXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXXXX,
// XXXXXXXXXXXXXXXX
IF UR PROC HAVING
//PROC1 PROC
//STEP1 EXEC PGM=PR1
//DD1 DD DSN=XXXXXXXXXX.
//STEP2 EXEC PGM=PR1
//DD2 DD DSN=XXXXXXXXXX.
//STEP3 EXEC PGM=PR1
//DD3 DD DSN=XXXXXXXXXX.
//STEP4 EXEC PGM=PR1
//DD4 DD DSN=XXXXXXXXXX.
//STEP5 EXEC PGM=PR1
//DD5 DD DSN=XXXXXXXXXX.
//STEP6 EXEC PGM=PR1
//DD6 DD DSN=XXXXXXXXXX.
//STEP7 EXEC PGM=PR1
//DD7 DD DSN=XXXXXXXXXX.
//STEP8 EXEC PGM=PR1
//DD8 DD DSN=XXXXXXXXXX.
//STEP9 EXEC PGM=PR1
//DD9 DD DSN=XXXXXXXXXX.
//STEP10 EXEC PGM=PR1
//DD10 DD DSN=XXXXXXXXXX.
.............................................................
I Hope this answer will help u.
cheers
sumanth |
|
Back to top |
|
|
Sridevi_C
Active User
Joined: 22 Sep 2005 Posts: 104 Location: Concord, New Hampshire, USA.
|
|
|
|
Hi,
Null statement could be coded after 5th job step.
Two dimensional error? In what context?
Regards,
Sridevi. |
|
Back to top |
|
|
akkoor
New User
Joined: 08 Oct 2005 Posts: 9
|
|
|
|
If u do nt wish 2 execute any step in a proc just give cond.stepname=(0,NE)
In u r case it would be
after giving the overrides just add
MSG=*,
cond.ps110=(0,ne),
cond.ps115=(0,ne)
..
the job would not execute steps given in conditions, only if the previous step executes successfully ie if return code is 0
the only porblem is you wound not be able to bypass the first step of the proc by any condition codes as it is mandatorily executed |
|
Back to top |
|
|
|