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
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 |
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 |
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
restart logic ?
If your job fails at particular step then what would be the return code for next steps
what r the types of job control statements?
How many types we can give input to JCL
01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
How to fetch even records from one file to another file by using ICETOOL in JCL?
What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672
Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember
My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP = NEW //STP4 A(+1), DISP = OLD STP3 was abended and I want restart my JCL from STP3 onwards & what are the precaution I want to take & what are the changes I need to make. Pls let me know.
For what purpose steplib and joblib are used ?
How do you designate a comment in JCL?