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 |
How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.
Given a input file with duplicates how to remove the duplicate records from the file using JCL?
6 Answers CDS, Convergys, TCS,
What is the use of DUMMY statement in the JCL? What is the use of DUMMY Utility in the JCL?
in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths
how to compare two datasets without using superce because output is limited to 133 bytes
Matching Logic in Jcl not in cobol.Could any one please answer this question
Can a PROC CALL another PROC ? (in both Instream and Cataloged cases) ?
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
How to read records in reverse order in flat file?
when GDG version number get changed ? bcz always Generations only increasing.
whats the diff bw the evaluate also and and?
diff bw vsam and normal flat file?