I have 10 steps, I want to run STEP1 TO STEP4 then I should
not run STEP5 and STEP6. Aganin I want to execute from
STEP7 to STEP10. ONLY using CONDITION CODES how can we
execute this process?
1. Where we can set cond codes for STEP5 and STEP6?
2. How can we execute remaining steps from STEP7 to STEP10?

Answer Posted / lokesh

1) Use cond code as COND=(0,LT,STEP04) on step 05 and COND=
(0,LT,STEP04) on step 06. As return code is always non-
negative, step05 and step06 will never get executed.

2) To execute remaining steps, use cond code as (4,LT)

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the parameters that are used in creating a gdg?

743


What is the purpose of dd dummy statement?

949


what is SOC4 error?

740


What is the function of a dd statement?

709


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

835






What methodology can be adapted to transfer data to a program that is coded using the exec statement?

616


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' ?

1591


what is the purpose of coding notify parameter in job statement?

688


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

675


Explain how can a stopped job be started again?

640


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

673


Is their any limit for data sets?

706


What is the function of the steplib dd statement?

745


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

2111


What is jcl in mainframe?

692