I have 5 steps in my jcl ,I need to execute first three
steps and then 2nd step again ,4th and 5th steps if rc of
2nd step is zero
Answer / ajay digule
STEP01
STEP02 RC=0
STEP03 COND(4,LT,STEP02) CONDITION IS FALSE HENCE, STEP 3 WILL BE EXECUTED.
ON STEP04 AND STEP05 NO NEED TO MENTION CON CODE AS THEY WILL EXECUTE NORMALLY.
| Is This Answer Correct ? | 0 Yes | 0 No |
what is the alternative to model parameter?
what is the purpose of SYSOUT parameter in the DD statement?
I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.
How is the record format of an output dataset specified?
Explain about LMCOPY -
File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3
What is QSAM error usually when it is occurs?
what is the difference between return code and maxcc?
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
I have a Symbolic Parameter which can have a value say 01 or 02 etc. Now consider i have another Symbolic parameters which is used to get 3 digit code of months (JAN, FEB, etc) but for that i need to check the first symbolic parameter's value and provide its corresponding month's name in the second symbolic parameter. Say IF sym1 = 01 then sym2='Jan' ENDIF etc... In JCL, IF condition is used for RC, ABEND purposes of a step etc. When i use Symbolic parameter in IF clause it is showing Error message. Is there a way to get the above result possible in JCL. If you could provide me with an example, i would understand it better.
How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?
I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?