What is the use of DUMMY statement in the JCL?
What is the use of DUMMY Utility in the JCL?
Answer Posted / 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 |
Post New Answer View All Answers
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
what is SOC4 error?
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
how would you create a temporary dataset? And where will you use them?
How to alter the parameters for the existing gdg?
what operation is performed by job statement?
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' ?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
What are s0c1, s0c4, s0c5, s0c7 and socb?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
How to submit a jcl from cics?
What happens if both JOBLIB & STEPLIB is specified ?
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Explain the purpose of dd * statement in jcl?
what are the various stages of job processing?