how you will define a temporary dataset in jcl?



how you will define a temporary dataset in jcl?..

Answer / biprajit

You need to use '&&' before the Dataset name; example- DSN=&&temp ;

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?

2 Answers  


i just need the first and last record from a sequencial file?how

2 Answers  


What is the syntax of JCL statement?

0 Answers  


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

0 Answers   HP,


On the DD statement, what is the main difference between creating a new sequential flat file and a partitioned dataset?

2 Answers  






Can you give the sort card to arrange the specific column in the version of GDG.

1 Answers  


What is the meaning of the following declaration : DCB=BLKSIZE=, What is the difference between above declaration & not specifying DCB at all for a output file?

1 Answers  


What are the parameters that are used in creating a gdg?

0 Answers  


what is the restart?hopw it is invoked?

1 Answers  


When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?

1 Answers   IBM,


wht r different types of sort fields in jcl ?

1 Answers   IBM,


In JCL I have 5 steps,I need to execute 1st,2nd and 5th steps only,can any one answer me please?

2 Answers   TCS,


Categories