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

how will u retreive value from a table.write it with syntex. 01 ws-table 05 ws-table1 occurs 10 times. 05 ws-table2 occurs 10 times. the above is 2 dimensional array..how will u retrieve 1st element of an array

3 Answers   ADP,


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

0 Answers  


What is the LINKAGE SECTION used in COBOL?

0 Answers   UGC Corporation,


Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?

4 Answers  


Can anyone please give the example of Inline Perform.

6 Answers   TCS,






What is the difference between Perform para and perform asaection in cobol?

3 Answers   TCS,


can we use COPY statement in w-s section? how?

3 Answers  


What is amode(24)?

0 Answers  


what are the paramater we cannot use in procedure?how many instream we can write in single jcl?can we call instream to catalog and ctalog to instream?

2 Answers   Satyam,


what is s000 u4087 error? please give the all error codes in cobol,jcl.

0 Answers  


I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??

2 Answers   HCL,


How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?

2 Answers  


Categories