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 |
How to delete AIX ? i) IEBGENER ii) IDCAMS iii) PURGE iv) All of the above
what is DSN in JCL and what are the parameters to declare the DSN?
If we want to see the eliminated duplicate record thru SORT, how its output file will be managed
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
Explain about LMINIT - generate a data ID for a data set
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
how would you create a temporary dataset? And where will you use them?
Max. No of DD statements in a job ?
How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.
How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.
01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
Explain about User Information