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
Answers were Sorted based on User's Feedback
Answer / uday bhaskar
if we refer cond perameter with first step then we can
bypass the third and forth steps also
if you not refer then it will take return code of the above
step so if above step was bypass then all will bypas
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / anjui
We can achieve it through if then else statement in jcl
along with the instream proc.
Is This Answer Correct ? | 4 Yes | 0 No |
what is a null indicator in db2?
what is a cataloged procedure ?
which utility is used to run a cobol-db2 program?
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
Name the statement which can be used to send data to another mvs jes3 node?
I have a dataset with record length 40 in production, due to some requirements it was changed to 80. Then how can we know the jobs which are effected by this change and how can we resolve it.
How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
How to change default PROCLIB?
how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly
I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.
As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ?