How can we see data in TEMPARARY DATA SET in JCL ?

Answers were Sorted based on User's Feedback



How can we see data in TEMPARARY DATA SET in JCL ?..

Answer / praveen bejjanki

Some info regarding Temporary dataset:
1) They start with '&&'
2) They can be a maximum of 8char's, The first character
should be a Alphabet or National character remaining char's
can be numeric also.
3) These dataset's will usually have the disp parm
as 'Pass' Which indicates that the dataset is passed to the
subsequent steps in the jcl. But at the end of the jcl the
dataset will be deleted.
So, It's impossible to view the data in Temporary dataset.

@All: Correct me if i'm wrong.

Is This Answer Correct ?    7 Yes 1 No

How can we see data in TEMPARARY DATA SET in JCL ?..

Answer / paddu

//job1 job a123,paddu
// step1 exec pgm=program1,
//dd1 dd dsn=&&temp.

temporary dataset names are indicated by &&.

Is This Answer Correct ?    12 Yes 8 No

How can we see data in TEMPARARY DATA SET in JCL ?..

Answer / shriram10

- No, you can not see data in temporary data set.
- Because temporary data sets are created during jobs
execution and terminated after completion of the job.
- It is used to release the space utilized by the data set
after termination of the job.

correct me if i am wrong
thanks

Is This Answer Correct ?    1 Yes 0 No

How can we see data in TEMPARARY DATA SET in JCL ?..

Answer / siva

Temporary dataset are recognized by &&

They are created during the time of  job execution once the job is executed they get deleted.

Is This Answer Correct ?    0 Yes 0 No

How can we see data in TEMPARARY DATA SET in JCL ?..

Answer / eswaran

//FSS127A JOB NOTIFY=&SYSUID,PRTY=15
//STEP1 EXEC PGM=IEFBBR14
//DD1 DD DSN=&&DATASETNAME
//
TEMPORARY DATASET NAME SPECIFIED BY &&

Is This Answer Correct ?    6 Yes 7 No

How can we see data in TEMPARARY DATA SET in JCL ?..

Answer / harsha

Yes, we can read data from Temporary dataset as long as job
is running. Once the job is executed, temporary datet is
deleted.

Is This Answer Correct ?    1 Yes 2 No

How can we see data in TEMPARARY DATA SET in JCL ?..

Answer / rahul

We cannot browse temp datasets, rest to see the tem
datasets , above answers are correct.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?

3 Answers  


What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672

6 Answers  


how to convert fb to vb in jcl ?

5 Answers   IBM, Infosys,


What is COND=ONLY ?

2 Answers  


There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?

3 Answers  






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  


How can unused space allocation be returned to the system when a dataset is closed?

0 Answers  


Can a PS file be read in reverse order?If so,how

2 Answers   Syntel,


what happens in execution stage in job processing?

0 Answers   IBM,


How many positional parameters are there in job statement?

4 Answers  


I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?

1 Answers  


how to run JCL thru COBOL.

1 Answers   Patni,


Categories