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 |
Explain how can values be passed from the job stream to an executable program?
What is the function of the steplib dd statement?
Explain concatenating datasets?
How to send data from cobol program to jcl?
What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?
In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.
Where can program checkpoints be stored for use in a restart?
restart logic ?
How many positional parameters are there in job statement?
how many members can be created inside a single pds?
which statement is used to end the in-stream procedure in a jcl?
What are the difference between jcl and jes?