by using procedure we can execute 300 step since each proc
contain max of 255 steps...
one way :
so here we may use 2 proc to execute 300 steps...
another way:
we may use one proc(255 steps) and remaining steps(45 steps)
just include in a same job after that proc
Write a jcl like the below. Two jobs will be submitted from
the same jcl.
//JOBCARD1 .........
//STEP1 EXEC ...
......
.....
//STEP255 EXEC ...
...
//JOBCARD2 ....
//STEP256 ..
.........
In a job max no of step is 255 ,if we want more than this
we have to submit one more jcl with in the same job
by using 'internal reader' its a part of JES
ex..
// step1 exec...
.
.
.
//step255 exec pgm=IEBGENER
//sysut1 dd dsn=another jcl
//sysut2 dd dsn= (*.INTRDER)
//sysprint dd sysout=*
one job can execute max. of 255 steps only...
so we cant execute 300 steps in one job...
we can solve this using procs...
1). we can write some steps in one proc and remaining in
another procs call these two procs in one job then we can
execute 300 steps.
2). we can write 255 steps in one proc and remaining steps
in job....
i have 3 steps in my jcl, where i want to run only one step
at a time depending on the variable. How should i give the
condition statement... I have tried this with two steps
which is working but not able to add condn for the 3rd
step. can anyone help me... I want to know the cond stmt
which i can code in step 3 and step4, so that only either
step2 or step3 or step4 executes