The disposition parameter in the jcl is share ( DISP+SHR )
and the program opens file in extend mode what will happen?
Answers were Sorted based on User's Feedback
Answer / mujahid
Hi
If Deposition parameter is SHR and file is opened in extend
mode then SHR will consider as MOD then sure records will
get appended.
Is This Answer Correct ? | 16 Yes | 2 No |
Answer / gowri
If Deposition parameter is SHR and file is opened in extend
mode,then records will get appended
Is This Answer Correct ? | 8 Yes | 1 No |
Answer / 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 |
Answer / iswarya
If a disp parm is SHR, then the file will be allocated to the job only at the step where the file is being used.
Is This Answer Correct ? | 0 Yes | 0 No |
s9(18) comp-3:: What is the size of memory it takes internally?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
0 Answers TryTechnicals Pvt Ltd,
What are the different rules to perform a Search?
how to run sub programs using static and dynamic call ...
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
if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error
I am getting S00F abend when i try to compare two variable of different pic class,one variable is of 9(09) and another is S9(09) comp-3. First i moved the data from S9(09) comp-3 to 9(09), but no luck. So i tried to move the data from S9(09) comp-3 to X (09) and move to 9(09). I am getting same error message, Please help me to find solution for this ptoblem. ERROR MESSAGE - "The system or user abend S00F R=NULL was issued."
How many sections are there in data division in COBOL?
i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
I have a occurs for 100 times but it has executed 101 time what could be the reason?
how many maximum no of variables can be declared in linkage section ?
give the examples for strings and unstrings in cobol