What is MOD and when would you use it?

Answers were Sorted based on User's Feedback



What is MOD and when would you use it?..

Answer / guest

DISP=MOD is used when the dataset can be extended, ie, you
can add records at the end of an existing dataset.

Is This Answer Correct ?    4 Yes 0 No

What is MOD and when would you use it?..

Answer / sudha

Disp=mod means if the dataset already exists it will append
at the end of the existing dataset or if the dataset doesnt
already exist then it will create a new one and write into
it.

Is This Answer Correct ?    5 Yes 1 No

What is MOD and when would you use it?..

Answer / shridhar

1. For appending.
2. using same dataset in input and output and making some
changes in that. Use mod for input.
3. When not sure dataset is created or not.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

Explain about CBL/PROCESS statement syntax

1 Answers  


What is jcl in mainframe, and how many types of jcl statements are there for a job?

0 Answers  


Suppose I have five jobs to do. But I want to hold one?

0 Answers  


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.

0 Answers  


Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?

6 Answers   IBM,


I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?

3 Answers   CTS, DELL,


What is the purpose of the PARM keyword in the EXEC statement?

3 Answers  


How many extents are possible for a sequential file ? For a VSAM file ?

3 Answers  


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

1 Answers  


Passing a variable parm from JCL to a cobol/db2 program

1 Answers   IBM,


Explain about Specifying compiler options in the PROCESS (CBL) statement

1 Answers  


what JCL Procedures?

0 Answers  


Categories