Answer Posted / deepak gairola
//sysin dd dumy :DUMMY has meaning as NULLFILE and is used
to suppress unused files. If you use it, it handles files
as non existing.
You can use it for example in IDCAMS with various input and
output files.
You have 20 input and 20 output files, but you only want to
use the 9th thru 13th input/output files without changing
the sysin instructions (REPRO).
So you set input/output file 1 thru 8 and 14 thru 20 to DD
DUMMY.
It works, try it.
Please go through the manual before posting
If you use it in a concatenated DD statement, be careful,
because it
identifies the EOF in the DD DUMMY, so it is the best way
to place it
at the end of a DD instruction.
All parameters used after a DD DUMMY, are ignored, this is
the difference between NULLFILE and DD DUMMY. NULLFILE
recognizes applied parameters.
Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Explain how can values be passed from the job stream to an executable program?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
What is the motivation behind coding class parameter in job statement?
How to do automated restart when a job abend?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Explain the function of dd name parameter with a 2 part structure; audit.report?
What is jcl in mainframe?
What do you understand by the term job time – out and how can you overcome that?
Can we use DISP=SHR in output file in JCL
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
what is the JCL statement consists of?
what is the resolution for sb37 error
What is multithreading in jcl?