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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / maxcc21
temporary files are:
1)dsn=&&temp
2)//JOBLIB DD SPACE=(CYL,(200,200),RLSE),UNIT=*****
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rikdeb
(ii) DSN = *.TEMP IS CORRECT.
Plese corretc me if i am wrong.
Is This Answer Correct ? | 0 Yes | 1 No |
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
i need some shortcuts and tso commands can any on ehelp me in these ?
In how ways you can pass the data from Jcl to cobol ?
What is the difference between catalogue procedure and In-Stream procedure?
What are steplib and joblib? What for they are used?
if we compile the cobol+ db2 program now ofter 5 years we need to compile again?
can we write a proc with in a proc
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.
how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file?
What is the use of symbol // in jcl?
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
what is alternate index?