COND ->
step1
.
.
step2,

Step2, Executes if the CC of step1 is 0.
But even if it is NOT 0 and if we dont give COND, will step2
be executed ?

Answers were Sorted based on User's Feedback



COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT ..

Answer / sillyme

Step2 without COND will be executed regardless of Step1 RC

Is This Answer Correct ?    4 Yes 0 No

COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT ..

Answer / ven

step2 will not be executed if step1 cc not= to 0

Is This Answer Correct ?    0 Yes 2 No

COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT ..

Answer / rup

STEP1
. .
. .
STEP2 COND(4,GE,STEP1)

STEP2 EXECUTES IF STEP1 CC=0, IF NOT 0 step2 will not
execute i.e step1 is 4 or >4 then step2 will not execute.

If condition is not giving in step2, then step2 will execute.

Is This Answer Correct ?    0 Yes 2 No

COND -> step1 . . step2, Step2, Executes if the CC of step1 is 0. But even if it is NOT ..

Answer / sandhya

In the job card we have to give cond=(0,gt)
then if even step1 is abended then also step2 will execute

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JCL Interview Questions

Explain about LMQUERY�give a dialog information about a data set

0 Answers  


I HAVE A SEQUENTIAL FILE CONTAINING ONE RECORD IN WHICH I HAVE ONE FIELD AS CUSTOMER IDENTITY NUMBER FIELD WHICH IS A SIGNED FIELD. HOW TO SEQUENTIALLY INCREMENT THIS FIELD USING OVERLAY PARAMETER?.

1 Answers  


My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?

2 Answers   HCL,


What is the function of a dd statement?

0 Answers  


//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?

2 Answers   CCS, CTS,






Why we will create load module in PDS only, Why nt in PS?

2 Answers   TCS,


A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?

2 Answers  


in ways data can be passed to a COBOL program from JCL?

0 Answers  


How do you create a temporary dataset? Where will you use them?

2 Answers   IBM,


i have 1000 records in input file and i want to sort it and the first 200 records to be placed in output file. how to do that??

14 Answers   L&T,


In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides

6 Answers   Satyam,


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

0 Answers  


Categories