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


Please Help Members By Posting Answers For Below Questions

what operation is performed by job statement?

663


When output dataset space is required, what quantity categories are used?

834


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1041


What is the function of dd disp parameter?

658


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

949






What are the difference between jcl and jes?

1050


What do you understand by the terms: joblib and steplib?

626


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?

822


Explain how can an in-stream dataset be terminated?

704


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

730


Name what parameter directs the output of the job log dataset?

565


Why block size is multiple of lrecl in jcl?

915


What is the difference between the positional and keyword parameters? Give examples.

716


Is automatic restart possible in jcl?

742


What happens if both JOBLIB & STEPLIB is specified ?

612