a job have 5 steps and it will executes a proc which have
5steps in it. now i have to execute step3 only when step2 of
proc executes successfully

Answer Posted / vinay sonar

You can de it by using COND parameter in step3.
Use always true condition which is

COND=(0,GT,STEP2) OR COND=(4095,LT,STEP2)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List the different jcl statements that are not permitted in the procedures?

641


Is their any limit for data sets?

704


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

710


What is job control language?

611


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

800






What are s0c1, s0c4, s0c5, s0c7 and socb?

706


Is their any set of rules for dd? Explain.

664


what is the use of JCL?

666


what sort card you will use to copy the data from one dataset to another dataset?

731


How can the attributes of one sms dataset be copied to another dataset?

859


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3531


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

650


Why block size is multiple of lrecl in jcl?

915


define cond parameter in jcl?

778


Are there any set of rules for the names of the steps used in a job?

637