What is the use of DUMMY statement in the JCL?
What is the use of DUMMY Utility in the JCL?

Answer Posted / sivakumar sekharannair

The use a a DD statement with a DUMMY parameter will allow
a program to run if a data set does not exist. In the cobol
program the OPEN will be successful, the first READ will
return an End-of-File return code and the close will be
successful.

Is This Answer Correct ?    20 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is timing concept in mainframe?

1664


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1670


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

1043


Explain the function of dd disp parameter?

599


What is use of restart and how to use it?

774






what is the use of JCL?

666


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2225


What are some jcl statements that are not allowed in procedures?

730


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

732


Must tape dataset definitions include vol=ser specifications?

987


Explain dfsort utility?

675


which parameter is use to declare the name of dataset in dd statement?

741


a dd statement has 2 types of parameters. Name them?

655


What is Cataloged Procedures?

715


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

709