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
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?
Discuss about changing dataset name in proc.
) what is the difference between AID and HANDLE AID?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What are different data types in cobol?
what is the difference between COBOL2 AND COBOL390?
What is the LINKAGE SECTION used in COBOL?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What is Pic 9v99 Indicates in COBOL?
What are the pertinent COBOL commands?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What type of SDLC u followed? Why?
Can a Search can be done on a table with or without Index?
what is difference between cobol and cobol/400
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?