Are all (i), (ii), (iii), (iv) of the below are VALID to
reference a temporary dataset ?
STEP2
DD1 DD DSN = &&TEMP
STEP3
DD2 DD (i) DSN = TEMP
(ii) DSN = *.TEMP
(iii) DSN = *.STEP1.DD1
(iv) DSN = *.STEP1.DD1.ONE
Answer Posted / rikdeb
(ii) DSN = *.TEMP IS CORRECT.
Plese corretc me if i am wrong.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What does a disposition of (new,catlg,keep) for a dsn mean?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
Where & How Do You Code Identifier In Jcl?
Why block size is multiple of lrecl in jcl?
How does jcl specify the job to the operating system?
How to do automated restart when a job abend?
How dummy is used in jcl?
Suppose I have five jobs to do. But I want to hold one?
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.
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
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?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
What is the function of dd name parameter with a 2 part structure; audit.report?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Explain how can the disposition of sysout datasets be set for an entire jobstream?