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
Write a program to explain size error.
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
How to know whether the module is dynamical or statistical?
What are literals?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
What is a report item?
how do you reference the printer file formats from cobol programs
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the esds vsam file formats from cobol programs
what is s000 u4087 error? please give the all error codes in cobol,jcl.
How can you get the ksds file records into your cobol program?
Can a Search can be done on a table with or without Index?
What is perform what is varying?
Explain how to differentiate call by context by comparing it to other calls?