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 |
how to compare two datasets without using superce because output is limited to 133 bytes
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.
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?
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 ?
What is primary allocation for a dataset?
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.
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
how to identify a vasam dataset by seeing in 3.4(browse)
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
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?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
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,