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

Does the terms, JOBLOG, SPOOL and SYSOUT indicate the same thing, i.e., where JCL and JES messages and statements are written ?

2 Answers  


What is Automatic Restart ? EXEC PGM = PROG1, RD = R (Is it the Restart of a JOBSTEP or Restarting the execution of the program?) Do we Restart it or it automatically Restarts executing again and again ? Then when it will finish executing ? or After Abending, when we submit it again, then it is Restarted from the Last successful Checkpoint ? If some JOBSTEP is abending, what is the benifit to Restart it, WILL IT NOT ABEND AGAIN if you don't change the LOGIC ?

1 Answers   IBM,


Whats error code s222?

7 Answers   Patni,


Could anyone please suggest me what is the maximum length of data that can be pass as input in //sysin dd * This was asked in interview. TIA

3 Answers   VC, Wipro,


At what stage, operator can change the class and priority of a submitted job?

2 Answers  






how can we merge two input files from two different jobs into one output file ? Please ans any one ASAP?

1 Answers  


What are the parameter we cannot use in procedure?

0 Answers  


I have a input file. Data like: ABCDEFGH.... i want out put file like AB BC CD DE....How can do this??

7 Answers   UST,


In a single step if input file is present then only need to copy into output file or else need to through a RC is it possible. Note : i want it in a single step

1 Answers  


GDG Create syntax ?

4 Answers   Xansa,


Hi, can any one tell about " How do u eliminate the duplicates "

2 Answers   Cap Gemini,


What is the use of ikjeft1b utility in jcl?

1 Answers  


Categories