What is MOD and when would you use it?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Explain about CBL/PROCESS statement syntax
What is jcl in mainframe, and how many types of jcl statements are there for a job?
Suppose I have five jobs to do. But I want to hold one?
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.
Is CPU time (TIME parameter) assigned to a JOB and JOBSTEP BOTH, by default ?
I have 3 duplicate records in a file . I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?
What is the purpose of the PARM keyword in the EXEC statement?
How many extents are possible for a sequential file ? For a VSAM file ?
can we copy a file from fixed block to variable block and vice versa ....asap
Passing a variable parm from JCL to a cobol/db2 program
Explain about Specifying compiler options in the PROCESS (CBL) statement
what JCL Procedures?