When should DISP=MOD is used?

Answer Posted / xyz

disp=old refers to dataset already created.

disp=new refers to dataset to be created at end of this step

disp=mod refers some data contents are added at end of
dataset if

dataset already present or a new dataset is created if it
is not already present.

Is This Answer Correct ?    8 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What methodology can be adapted to transfer data to a program that is coded using the exec statement?

612


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

632


Explain about LMQUERY�give a dialog information about a data set

904


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

657


How to submit a jcl from cics?

668






How to submit jcl through a cobol program?

679


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

923


What are the 4 fields in dd statement?

744


what is the compile process of cobol program expalin with code

2002


what is use of dsn parameter in dd statement?

670


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1971


what JCL Procedures?

701


What is the significance of addrspc parameter in the exec statement?

620


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

720


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

854