The disp in the JCL is MOD and the program opens the file in
OUTPUT mode. What happens ? The DISP in the JCL is SHR and
the program opens the file in EXTEND mode. What happens ?

Answer Posted / guest

If the parameter is MOD and Mode is OUTPUT, the entire file
will be overwritten.
If the paramete is SHR and Mode is EXTEND, the records will
be appended at the end.

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why block size is multiple of lrecl in jcl?

1151


What statement can be used to send data to another mvs jes3 node?

1313


What is the purpose of dd dummy statement?

1196


What is the difference between run mode and addressing mode?

893


Is it possible to code instream data in a PROC?

1021


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2342


What are steplib and joblib? What for they are used?

924


How can the submitting users racf authority be overridden in a job stream?

1019


In job processing, what happens in execution stage?

929


How to submit a jcl from cics?

904


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1102


what is the JCL statement consists of?

929


Explain how can the attributes of one sms dataset be copied to another dataset?

974


what are JCLLIB and STEPLIB in JCL?

912


How do you overcome this limitation ?

946