THERE IS ONE STEP AS BELOW:
//STEPJS060 EXEC PGM=XYX,
COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN)
COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE?
I AM CONFUSED BECOZ OF "EVEN".

Answer Posted / rookie

Here first
(200,eq,js010) will be checked it true the step will be
bypassed without further processing
if false then
(0,ne,js020.c) will be checked if false then again the step
will bypassed with no further processing of the cond
if false then
even will come to picture and the step will be executed even
if thr was any previous abends.

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I send output of job to my remote device careerride123?

668


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

669


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1987


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

1765


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

804






I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

729


Why include statement is used in a jcl?

691


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

1588


Explain how can an in-stream dataset be terminated?

703


Explain how can a stopped job be started again?

636


What is the function of //jcllib statement?

810


I need exexution process for JCL programs

1852


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.

1954


Matching Logic in Jcl not in cobol.Could any one please answer this question

3671


how to run batch program without jcl?

10085