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 |
What are s0c1, s0c4, s0c5, s0c7 and socb?
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.
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?
Can comments be specified at the very beginning of a jobcard? Will the JCL execute?
Can we use DISP=SHR in output file in JCL
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?
how to eliminate the duplicates in sorting
Suppose I have 5 dataset listed under a single DD name in a catlogued PROC. How can I override one of those 5 dataset (say 3rd dataset)?
what sort card you will use to copy the data from one dataset to another dataset?
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/
01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250