What is the difference between specifying DISP=OLD and
DISP=SHR for a dataset?

Answer Posted / shailendra 2008

disp=old means at the time of execution another job can't
use that file.after completion of job another job can use.

disp=shr at the timeof exection many user can use in read
mode.

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

856


What is the use of symbol // in jcl?

931


how can you check if a file is empty using jcl?

816


What is NOTCAT ?

742


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

915






How is a type of file defined in the jcl that executes the cobol program?

716


What is the function of job statement in jcl?

638


How does the jcl specify the job to os?

698


what is the use of IEBGENER utility?

662


Explain dd statement in jcl?

646


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1591


How does jcl act on a cobol code?

659


how JCL works?

802


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

708


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

726