Answer Posted / guest
DISP=MOD is used to either extend an existing sequential
dataset or to create a dataset if it does not exist. If the
dataset exists, then records are appended to the dataset at
the end of the existing dataset. If the dataset does not
exist, the system treats MOD as if it were NEW, provided
that the volume parameter has not been used. If the volume
parameter is used, the system terminates the job and does
not create the new dataset. MOD can be used to add to a
dataset that extends onto several volumes. Always specify a
disposition of CATLG with MOD for cataloged datasets, even
if they are already cataloged, so that any additional volume
serial numbers will be recorded in the catalog.
Is This Answer Correct ? | 36 Yes | 5 No |
Post New Answer View All Answers
how can you check if a file is empty using jcl?
Is it possible to code instream data in a PROC?
Explain how can the attributes of one sms dataset be copied to another dataset?
List the different jcl statements that are not permitted in the procedures?
what are the various stages of job processing?
What parameter directs the output of the job log 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
How does jcl act on a cobol code?
List in order the hierarchical levels of jcl?
How can the disposition of sysout datasets be set for an entire jobstream?
What does a disposition of (MOD,DELETE,DELETE) mean ?
Where can program checkpoints be stored for use in a restart?
When space is allocated for an output dataset, what units can be used?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
How can values be passed from the job stream to an executable program?