Do we need to code DCB parameters when using DISP position as MOD?



Do we need to code DCB parameters when using DISP position as MOD?..

Answer / sneha vaibhav

Yes . It is required.

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!

2 Answers  


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

0 Answers  


What is primary allocation for a dataset?

4 Answers  


what is the restart?hopw it is invoked?

1 Answers  


If i am going to change some variable in a copybook( size or variable type) ,what are the changes that need to be done in the corresponding JCL.

4 Answers   IBM,


Can I send output of job to my remote device careerride123?

0 Answers  


what is full form of AIX

3 Answers   Accenture,


Why do you want to specify the REGION parameter in a JCL step?

4 Answers   Kekran Mekran, TCS,


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 ?

3 Answers  


what r the types of job control statements?

2 Answers  


What is a PROC? What is the difference between an instream and a catalogued PROC?

2 Answers  


if we give two job cards in a single what happens

3 Answers   IBM,


Categories