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

Records will be written to end of file (append) when a WRITE
is done in both cases.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of //jcllib statement?

708


In sms datasets, what is the function of the dd mgmtclas keyword?

865


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1972


how can the same proc be re-used and called by many jobs?

915


Is their any set of rules for dd? Explain.

664






Is there any command to check wether the ps file is in sorted order?

2436


What is the function of a dd statement?

709


what is the compile process of cobol program expalin with code

2005


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1933


In job processing, what happens in conversion stage?

745


Is it possible to define dd statements as you want?

646


How can an in-stream dataset be terminated?

850


How to execute 2nd and 4th steps among 5 steps in jcl proc?

750


Describe the various parameters utilized in the creation of a gdg?

687


Can an individual step be restricted from using all the jobs allowed cpu time?

1011