IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN
EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?

Answer Posted / ravikumar. r

You can IEBEDIT utility for your requirement. The syntax as
follows.

Syntax:
//JOBCARD
//PS010 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=path of your JCL,DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(PS008,PS004)
/*

Is This Answer Correct ?    26 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can a stopped job be started again?

898


Why include statement is used in a jcl?

881


how to compare two datasets without using superce because output is limited to 133 bytes

1755


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1754


What are hierarchy levels in jcl?

1212






how you will the direct the data to spool using sysout option?

2084


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

2236


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

1183


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

762


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

1001


how JCL works?

994


Explain about ISPF/TSO Commands

1550


what happens in execution stage in job processing?

820


What is the purpose of disp parameter?

827


How can a jobs execution priority be modified?

994