WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
Answer Posted / dhanumjaya
in this case if the dataset already exist then it will
delete,otherwise the dataset first created and after deleted
| Is This Answer Correct ? | 6 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
what happens in execution stage in job processing?
List the different components of jcl statement?
Explain the function of job statement in jcl?
Is automatic restart possible in jcl?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
what are JCLLIB and STEPLIB in JCL?
What do you understand by jcl?
In job processing, what happens in conversion stage?
Explain the function of the dd dcb keyword?
How is a type of file defined in the jcl that executes the cobol program?
Can I send output of job to my remote device careerride123?
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) ?
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 statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?