The disposition parameter in the jcl is share ( DISP+SHR )
and the program opens file in extend mode what will happen?
Answer Posted / srinivas yadav
If the disp parameter is SHR and that same file is opened
in the extend mode then the file is treated as MOD.
MOD:It is used to append (add) the records.
Ex:Already 10 records are there in a file and i am adding 5
records to that of same file. so, by using disposition
parameter=MOD we can add the records to an already existing
file.
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What are the different rules for performing sort operation?
Write a program that uses move corresponding.
what is amode(24), amode(31), rmode(24) and rmode(any)?
how to move the records from file to array table. give with code example
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
Write a cobol program making use of the redefine clause.
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
In COBOL programming, what is PERFORM? What is VARYING?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is comp-1 and comp-2?
What is the difference between comp and comp-3 usage?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What are the different open modes available in cobol?