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 perform … with test after and perform … with test before?
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 are the different rules of SORT operation?
how do you reference the fixed unblock file formats from cobol programs
What is a report item?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
How do define dynamic array in cobol.
Differentiate between structured cobol programming and object-oriented cobol programming.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What are the pertinent COBOL commands?
In which area will you utilize 88 level items in cobol?
How many sections are there in data division in COBOL?
what is the difference between COBOL2 AND COBOL390?
Which mode is used to operate the sequential file?
What is link edit in cobol?