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) ?
Answer Posted / 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 |
Post New Answer View All Answers
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
What is the function of dd name parameter with a 2 part structure; audit.report?
what is DSN in JCL and what are the parameters to declare the DSN?
Can we use DISP=SHR in output file in JCL
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.
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What is the function of dd disp parameter?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What is jcl in mainframe?
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' ?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?