What is MOD and when would you use it?

Answers were Sorted based on User's Feedback



What is MOD and when would you use it?..

Answer / guest

DISP=MOD is used when the dataset can be extended, ie, you
can add records at the end of an existing dataset.

Is This Answer Correct ?    4 Yes 0 No

What is MOD and when would you use it?..

Answer / sudha

Disp=mod means if the dataset already exists it will append
at the end of the existing dataset or if the dataset doesnt
already exist then it will create a new one and write into
it.

Is This Answer Correct ?    5 Yes 1 No

What is MOD and when would you use it?..

Answer / shridhar

1. For appending.
2. using same dataset in input and output and making some
changes in that. Use mod for input.
3. When not sure dataset is created or not.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.

1 Answers  


Is their any limit for data sets?

0 Answers  


What is DYNAMBR in jcl?

2 Answers   CTS,


What does a disposition of (NEW,CATLG,KEEP) mean?

1 Answers   Cap Gemini,


We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?

2 Answers   CTS, IBM,






I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?

2 Answers  


what are the options in file-aid to edit vsam dataset and to compare data sets.

2 Answers   Ocwen,


How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.

13 Answers   IBM,


What is the function of a dd statement?

0 Answers  


after submiting the jcl.how do you know that the job has been completed.

4 Answers   ACS,


db2 maintains information about the data... a.in tables. b.in a set of tables known as db2 catalog. c.in db2 database. d.none of the above. 1 What is the maximum number of tables that can be stored on a Partitioned Table Space ? 1 what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names Accenture 5 Can a primary key have null values? If we try to insert a null value in a primary key column, will it work or give an error code? 6 When you are working with the project after coding what will u do? Like what type of documents u will prepare? How will u do testing? 2 how to delete perticular row from table for ex. how you will delete 3rd row from table please answer THANKS IN ADVANCE IBM 7 max number of columns in a db2 table? 6 What is package versioning? Please give an example. 1 What is the picture clause of the null indicator variable? 6 How do you filter out the rows retrieved from a Db2 table ? 1 What is DB2 (IBM Database 2)? 3 Can any one tell me about Restart logic in DB2.

2 Answers   Cap Gemini,


I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero

1 Answers   ABC,


Categories