How can we see data in TEMPARARY DATA SET in JCL ?
Answers were Sorted based on User's Feedback
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 |
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 |
- 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 |
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 |
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 |
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 |
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 |
i have a base gdg consisting of 12 versions like jan to dec. i need to concatante this gdg to another gdg which have version 1 or to the base gdg itself can anyone give me the code pls ?
My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?
what is meant by jobtrac?
wht do u mean by notify parameter, how can u give acess to multiple users ?
How to run cobol program using jcl?
What is the meaning of keyword in JCL? What is its opposite?
how to create a member or sequential dataset through tso command??
I have three files for one step i need to override the third file how to do that in jcl?
01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
How to override loadlib?
01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250