How is the keyword DUMMY used in JCL?

For an output file DUMMY specifies that the output is to be discarded. For input it specifies that the file is empty.

Showing Answers 1 - 6 of 6 Answers

bhindhu

  • Aug 16th, 2006
 

dummy is used when files are not using, it will skip while executing these files.it may or may not correct.refer book renede

  Was this answer useful?  Yes

vivek,hyd

  • Aug 16th, 2006
 

gave a query

  Was this answer useful?  Yes

manik

  • Apr 16th, 2007
 

SELECT SALARY FROM TABLE.A WHERE N=(SELECT COUNT(*) FROM TABLE.B WHERE   B.SALARY>=A.SALARY)
 

in this case we have to use alias.

Here N is nay no.

  Was this answer useful?  Yes

sudhakarchandu

  • Sep 28th, 2007
 

The key word DUMMY is used in IEFBR14 utility
It is doing nothing utility
the syntax : //sysin dd dummy
it is not passing any values but it is essential while using the IEFBR14 utility.

If u r not giving any input values  using below control card

i.e. in the sysin dd *
  
Then we r using this.

When we r using this dummy o/s simulates the presence of this file.
When u r reading a file o/s sends the end of file request to the program.



ok   bye....

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions