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 is the function of //cntl statement?
What is the use of symbol // in jcl?
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
when does a dataset go uncataloged?
What are the parameters that are used in creating a gdg?
Explain how can return codes be tested before execution of a job step?
List the various advantages of using jcl language?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How do you overcome this limitation ?
What do you understand by the terms: joblib and steplib?
What are steplib and joblib? What for they are used?
how you can access an uncataloged dataset in a JCL?
What is the significance of addrspc parameter in exec statement?
What is catelog procedure and how many catelog procedure to use in one job?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY