IF WE GIVE COND on step3 then, What does the following mean ?
And Just adding to that, All the below COND are VALID as per
the specifications.
(i) COND = (8,LT,step1,step2) ---(AND/OR ?)
(ii) COND = (8,LT,step1,step2, ONLY),
(iii) COND = (8,LT,step1,ONLY) will it execute only if this
condition is true or only if step1 ABENDS ?
(iv) COND = (8,LT,step1,step2,EVEN),
(v) COND = (8,LT,step1,EVEN) ?
Answers were Sorted based on User's Feedback
All the above COND are INVALID as per
the specifications.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / muttaiah
yaa, it's invalid as per the syntax of cond.
Syntax:
Cond=(code,Relational Op,stepname)
code - 0 to 4096, RO - LT/GT/LE/GE/EQ,NE
If you give stepname say step1 it will check for that
step alone, If you want to check all the prior executed
steps ignore stepname.
Cond = Even or only
This we will use only in case of any abends.
| Is This Answer Correct ? | 0 Yes | 0 No |
We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?
List the various advantages of using jcl language?
The maximum number of steps in a job?
I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.
Describe the various parameters utilized in the creation of a gdg?
Please give me the coding for converting VB to FB and FB to VB
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
can we maintain 2 generations with different Lengths in Same GDG ?
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
how to set dependancy for jobs?
What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?