MOD, DELETE; What does a disposition of (,DELETE) mean ?
Answer Posted / guest
The MOD will cause the dataset to be created (if it does not
exist), and then the two DELETEs will cause the dataset to
be deleted whether the step abends or not. This disposition
is used to clear out a dataset at the beginning of a job.
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
How does jcl act on a cobol code?
In job processing, what happens in execution stage?
how to compare two datasets without using superce because output is limited to 133 bytes
what is the purpose of coding notify parameter in job statement?
Is it possible to code instream data in a PROC?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
In sms datasets, what is the function of the dd mgmtclas keyword?
What is the function of dd disp parameter?
When space is allocated for an output dataset, what units can be used?
Explain in DD statement what is the use of DCB parameter?
What do you understand by the terms: joblib and steplib?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
what JCL Procedures?