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



Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 ..

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

Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 ..

Answer / pintokott

No.

Is This Answer Correct ?    3 Yes 0 No

Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 ..

Answer / pintokott

2 Rikdeb: (ii) DSN=*.TEMP IS INCORRECT.
Alas.

Is This Answer Correct ?    1 Yes 0 No

Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 ..

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

Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 ..

Answer / rikdeb

(ii) DSN = *.TEMP IS CORRECT.
Plese corretc me if i am wrong.

Is This Answer Correct ?    0 Yes 1 No

Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 ..

Answer / prachi

DSN = *.STEP1.DD1

Is This Answer Correct ?    0 Yes 2 No

Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 ..

Answer / garry

May be the option is not here in 4:

DSN=*.step1.temp

Please correct me

Is This Answer Correct ?    0 Yes 3 No

Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 ..

Answer / dedicated

Just Read DSN = *.STEP1.DD1.TEMP in option (iv)

Is This Answer Correct ?    1 Yes 6 No

Post New Answer

More JCL Interview Questions

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)

2 Answers   IBM,


i need some shortcuts and tso commands can any on ehelp me in these ?

1 Answers  


In how ways you can pass the data from Jcl to cobol ?

3 Answers   Cap Gemini, IBM,


What is the difference between catalogue procedure and In-Stream procedure?

2 Answers  


What are steplib and joblib? What for they are used?

0 Answers  






if we compile the cobol+ db2 program now ofter 5 years we need to compile again?

1 Answers   TCS,


can we write a proc with in a proc

4 Answers   IBM,


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.

0 Answers  


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?

6 Answers   CSC,


What is the use of symbol // in jcl?

0 Answers  


Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance

2 Answers   Cap Gemini,


what is alternate index?

1 Answers  


Categories