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

Answers were Sorted based on User's Feedback



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

Answer / sukumar

The DUMMY statement will allow a Jcl program to run if a
data set does not exist.

Following example:
//JOB1 JOB NOTIFY=&SYSUT1
//STEP1 EXEC PGM=IEBGENER
//DD1 DD DSN=IASM12.CLASS.PS1,DISP=SHR
//DD2 DD DSN=ISAM12.CLASS.PS2,DISP=SHR
//SYSIN DD DUMMY
//*Here statements tells about no input data.

Correct me if i'm wrong...... okai

Is This Answer Correct ?    38 Yes 10 No

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

Answer / harsh kumar

The DUMMY parameter specifies that no device is to be
allocated to this DD statement and that no disposition
processing or I/O is to be
done.
One use of the DUMMY parameter is in testing a program.
When testing is finished and you want input or output
operations performed on the data set, replace the DD DUMMY
statement with a DD statement that fully defines the data
set.

Is This Answer Correct ?    24 Yes 4 No

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

Answer / 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

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

Answer / sankar

i think for the jcl ,we should have to give input in sysin
dd ststement.if we dont give any input then by default we r
giving this as an input. Becos they need a kind of input
from that place. plz give suggesion for my answer.....

Is This Answer Correct ?    13 Yes 3 No

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

Answer / rahul tripathi

DUMMY statement is used in JCL to specify the MVS that no
device,disposition and I/O processing is to be done for the
dummy file. It is used in the DD statement in case we want
to refer to some file which does not exists or to refer to
a null file.

//SYSIN DD DUMMY

IS EQUIVALENT TO ........

//STEP01 DD DSN=NULLFILE

Is This Answer Correct ?    10 Yes 2 No

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

Answer / lovely

Specifies no space allocation & no disposition processing

Is This Answer Correct ?    13 Yes 6 No

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

Answer / r.pugazhendhi

Dummy specifies that no devices are to allocated to the file
reference by the DD name and that all i/o requests be bypassed

Is This Answer Correct ?    5 Yes 0 No

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

Answer / sai

dummy statement is used to suppressed command processing.

Is This Answer Correct ?    13 Yes 11 No

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

Answer / himanshu pratap

basically dummy is used to test the execution of program
and it is mention in the program only if there is no
control parameter in the jcl.It is mandatory to write dummy
in the case of iebgener utility.

Is This Answer Correct ?    3 Yes 1 No

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

Answer / kumar

Dummy mainly used when u want check the program flow and not producing any output of it..

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JCL Interview Questions

what is the control cards?

3 Answers  


How to copy one PS file to multiple PS files with same data?

1 Answers  


Can we delete the data using IEFBR14 , IEBGENER??

5 Answers   Kanbay,


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

0 Answers  


wht do u mean by internal reader in jcl ? wht is the use of internal reader ?

1 Answers   Syntel,






Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 Answers  


When output dataset space is required, what quantity categories are used?

0 Answers  


How jcl is used for testing batch programs?

0 Answers  


how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??

3 Answers   Steria,


what is A-MODE and R-MODE?

2 Answers  


what JCL Procedures?

0 Answers  


What is the difference between IEBGENER, IEBCOPY and REPRO in IDCAMS utility?

8 Answers   Accenture, TCS,


Categories