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 is the difference between goback, stop run and exit program in cobol?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
how do you reference the esds vsam file formats from cobol programs
What is cobol?
What are the rules of the move verb?
How do u write test cases?
Can we redefine the field of x(200) to less than 200?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
How to remove 2 duplicate records and copy only one using job control language?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What the difference is between continue and next sentence?
Define static linking and dynamic linking.
When is inspect verb is used in cobol?