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 |
What u mean by include statement in JCL ?
what is the default region size if I dont specify region parametre in my job card ( I know that if I specify region=0k or 0M, then the job will occupy all he available resources at the time of job execution), but I want to know the defult value for "region" paramatre.
what are the statements that are not valid to be included in an include statement?
Brief description of inline procedure of jcl.
How to identify in JCL that an input file is empty without reading it?
Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?
Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?
Does jcl support automatic restart?
At what stage, operator can change the class and priority of a submitted job?
how to modify the copy book?explain with examples
how to put a dependency on job in jcl using opc scheduler?
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?