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

I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....

3 Answers   RBS,


What is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?  

1 Answers   TCS,


Explain the function of //jcllib statement?

1 Answers  


what happens in conversion stage in job processing?

1 Answers   IBM,


What is the function of //cntl statement?

1 Answers  


what happens if job falls in loop ? how to resolve it ?

3 Answers   Patni,


Suppose I have five jobs to do. But I want to hold one?

1 Answers  


How would you understand error(execution phase)?

1 Answers  


What does SYSIN * indicate?

2 Answers  


i have step1,step2,step3 from where can i start coding cond parameter ?

2 Answers   Verizon,


File1 has 100 records and file2 has 200 records i want to copy 50 records which r in both file into file3

7 Answers  


Categories