When should DISP=MOD is used?

Answers were Sorted based on User's Feedback



When should DISP=MOD is used?..

Answer / 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

When should DISP=MOD is used?..

Answer / peter

Disp=New tells the system to create a NEW dataset at step
initiation, so that the program can use the newly created
dataset.
The dataset is NOT created at the end of the job-step, "step
termination", but the system looks at the second positional
parameter in the DISP=(NEW,xxx) whether the dataset should
be kept or not!!

Is This Answer Correct ?    7 Yes 1 No

When should DISP=MOD is used?..

Answer / nithya

Dataset is already created and new records are appended at the end

Is This Answer Correct ?    4 Yes 0 No

When should DISP=MOD is used?..

Answer / xyz

disp=old refers to dataset already created.

disp=new refers to dataset to be created at end of this step

disp=mod refers some data contents are added at end of
dataset if

dataset already present or a new dataset is created if it
is not already present.

Is This Answer Correct ?    8 Yes 9 No

When should DISP=MOD is used?..

Answer / vinay

disp=mod is used to modify the records in existing datasets

Is This Answer Correct ?    1 Yes 4 No

When should DISP=MOD is used?..

Answer / vamsi

IT IS USED FOR ONLY EXISTING DATA SETS FOR ABEND DATA(ADDING).

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More JCL Interview Questions

by using cond parameter maximum 8 cond can be coded in single cond means ?explain

0 Answers  


what are JCLLIB and STEPLIB in JCL?

0 Answers  


How can the submitting users racf authority be overridden in a job stream?

0 Answers  


whats SOC7?

1 Answers   Patni,


What is JCL LIB ?

3 Answers   Xansa,






is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name?

4 Answers   Accenture,


i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?

4 Answers   DELL,


I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....

3 Answers   RBS,


wht happens if blksize = 0 and lrec = 0 ?

1 Answers   TCS,


can we copy a file from fixed block to variable block and vice versa ....asap

1 Answers  


what is the Difference between SYSIN and PARM ?

5 Answers   IBM,


A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

5 Answers   IBM, Wipro,


Categories