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

how to compare two datasets without using superce because output is limited to 133 bytes

0 Answers  


There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.

1 Answers   IBM,


Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?  

1 Answers   TCS,


How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?

5 Answers   IBM,


What is primary allocation for a dataset?

4 Answers  






I need to compare two VSAm files. In input VSAM file some fields are updating and the updated feilds are coming into the output file. now i need to compare these two files with respect to a perticular field. Please suggest a suitable JCL code me.

2 Answers   Cognizant, Wipro,


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

0 Answers  


how to identify a vasam dataset by seeing in 3.4(browse)

5 Answers   Cap Gemini,


1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program anyone please answer me for above questions. it's very urgent

1 Answers  


Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?

2 Answers  


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

0 Answers   IBM,


If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will vsam file will contain. will it 1,2,3,4,5 or how many,

3 Answers   IBM,


Categories