If there are five steps in a JCL i have to execute the 3rd
step, bypass the 4th step and execute the 5th step how do i
do this?

Answer Posted / rajesh

We use the COND Parameter for By pass the 5th step &
RESTART=Step Name in the job Card.
// Jobname Job Acc.info,Programmer
name,..............,Restart=Step3
//Step4 EXEC PGM=Program Name,COND=(0,LE,Step3)
//Step5 EXEC PGM=Program Name
//

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the parameter we cannot use in procedure?

640


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

631


How can unused space allocation be returned to the system when a dataset is closed?

812


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

938


Explain how can the disposition of sysout datasets be set for an entire jobstream?

636






What is the purpose of disp parameter?

645


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1351


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1732


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

1998


What do you understand by jcl?

629


Can we use DISP=SHR in output file in JCL

953


How does jcl act on code(if you take a cobol program)?

709


What is job control language?

611


What statement can be used to send data to another mvs jes3 node?

826


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2107