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
Differentiate between structured cobol programming and object-oriented cobol programming.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What is static and dynamic call in cobol?
How to know whether the module is dynamical or statistical?
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.
How do you reference the following file formats from cobol programs?
Write down the divisions of cobol program?
Write a program that uses move corresponding.
What is the usage of comp fields in cobol?
What are the rules of the move verb?
what is amode(24), amode(31), rmode(24) and rmode(any)?
how to refer the data field?
What is perform what is varying?
Can a Search can be done on a table with or without Index?
How arrays can be defined in COBOL?