Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How can we increment subscript and index?

1 Answers   CTS, IBM,


we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?

1 Answers   Fidelity,


How do you skip a particular step in a proc/JOB?

5 Answers   CSC, CTS,


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

0 Answers  


A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?

5 Answers   IBM, Wipro,


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

4 Answers   IBM,


Is there a limit of 3273 DD statements for a JCL or for every EXEC step in a JCL?

2 Answers  


I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

4 Answers   IBM, TCS,


What is the use of disp parameter?

0 Answers  


Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.

4 Answers   TCS,


Hi, can any one tell about " How do u eliminate the duplicates "

2 Answers   Cap Gemini,


how to resolve sb37,sd37 se37 abends

3 Answers   Keane India Ltd,


Categories