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
What are the 2 types of parameters in dd statement?
Explain the purpose of dd dummy statement?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
What is the difference between run mode and addressing mode?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Is automatic restart possible in jcl?
how you can direct the data to spool using SYSOUT option?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
can any one plzzzzzz tell the jcl code for creating ps using idcams
What are hierarchy levels in jcl?
How can return codes be tested before execution of a job step?
Explain the job statement in jcl?
Explain how can the submitting users racf authority be overridden in a job stream?
How can an in-stream dataset be terminated?
What are s0c1, s0c4, s0c5, s0c7 and socb?