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 / deepak_developer
Correct answer is
Actually this question does not have right answer in option.
So i write is isolated.
if we refer to temp then.
dsn= *.step2.dd1
This is right Answer.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
What is the purpose of dd dummy statement?
what is JCL?
What is use of restart and how to use it?
Is automatic restart possible in jcl?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
How is a type of file defined in the jcl that executes the cobol program?
write a jcl to execute a job by 7:00 am on jan 20,1986?
Where & How Do You Code Identifier In Jcl?
How to submit jcl through a cobol program?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
What is the difference between the positional and keyword parameters? Give examples.
List the different jcl statements that are not permitted in the procedures?
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