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



The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

Answer / gayathri

Records will get appended to the file at the last.

Is This Answer Correct ?    19 Yes 2 No

The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

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

The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

Answer / himanshu kumar

agree

Is This Answer Correct ?    10 Yes 1 No

The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

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

The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

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

The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mo..

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

Post New Answer

More COBOL Interview Questions

s9(18) comp-3:: What is the size of memory it takes internally?

4 Answers  


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?

0 Answers  


how to run sub programs using static and dynamic call ...

3 Answers   TCS,


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

0 Answers   IBM,






if a pic 9(3) value 354,b pic x(2) value '46' then a)a>b 2)a<b 3)error

8 Answers   Cap Gemini,


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."

1 Answers  


How many sections are there in data division in COBOL?

0 Answers   B-Ways TecnoSoft,


i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19

2 Answers  


I have a occurs for 100 times but it has executed 101 time what could be the reason?

4 Answers  


how many maximum no of variables can be declared in linkage section ?

2 Answers   HCL,


give the examples for strings and unstrings in cobol

2 Answers   IBM,


Categories