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 is concatenating?
What do you feel makes a good program?
If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.
I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:
the command to open a dataset directly from the JCL instead of opening it separately using 3.4 option.
What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ?
What is a GDG
Hi, If a catolog proc has another proc in it, both have ddnames dd1 and dd2. what proc will override if gave override parameter. Here both have same step names.
what are the statements that are not valid to be included in an include statement?
I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?