WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
Answer Posted / wairagade
Sometimes in job, datasets needs to be deleted as per
application requirements but we are not sure that the
dataset is been cataloged or not . so the first step will
be using IEFBR14 utility mentioned those datasets which
needs to be deleted with DISP mentioned in Q . If the
dataset is not cataloged then system will cataloged it
first and delete it . It will avoid JCL error. Your
thoughts on this!!
Is This Answer Correct ? | 15 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of dd?
Can an individual step be restricted from using all the jobs allowed cpu time?
what is the purpose of coding notify parameter in job statement?
What is the purpose of dd * statement in jcl?
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
can any one plzzzzzz tell the jcl code for creating ps using idcams
How does jcl act on code(if you take a cobol program)?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Explain the jcl exec statement?
How to pass data to a program that is coded in an exec statement?
Is it possible to code instream data in a PROC?
What parameter of the job statement is used to limit the cpu time consumed by the job?
What is the function of the dd dcb keyword?
when does a dataset go uncataloged?
what are JCLLIB and STEPLIB in JCL?