My JOB contains three steps.
//STEP1 EXEC PGM=ABC
//STEP2 EXEC PGM=DEF
//STEP3 EXEC PGM=GHI
My Question is
1) I want to execute second step only. How will do.
2) Soppose U consider above three steps are in PROC steps
and I want execute the PROC second step only?
How to execute the second step only. During exection
time its creating any ABEND?
Please let me know..........
Answers were Sorted based on User's Feedback
Answer / sandy
Question no.1
-------------
Code RESTART=STEP02,COND=(0,LE) in the job card
Question no.2
-------------
Code RESTART=PSTEP1.STEP02,COND=(0,LE) in the job
card.PSTEP1 is the step executing PROC.
| Is This Answer Correct ? | 14 Yes | 1 No |
Answer / hema
Restart the Job from second step. Suppress the Third step
using the condition code.
| Is This Answer Correct ? | 4 Yes | 1 No |
in ways data can be passed to a COBOL program from JCL?
01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
What is a MODEL Paramater in GDG ?
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.
In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step
Can you execute a PROC from another PROC?
I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??
9 Answers IBM, Infosys, TCS, Xansa, Xchanging,
How to fetch even records from one file to another file by using ICETOOL in JCL?
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
In DCB, what is LRECL,BLKSIZE,DSORG