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 the purpose and meaning of the TIME keyword and what JCL statement is it associated with?
what is use of disp parameter in dd statement?
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
what are the various stages of job processing?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
One dataset is creating in the step1 with LRECL of 133 and the same dataset is used in the next step in DISP=SHR mode, but while scanning the JCL the following error is thrwon. Please verify the below JCL $/SEPP030.PROVIDER DD DSN=Z1225BT.F5750PG9.F5910PRV.QC#A6868 //ERRORRPT DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, --ERRORRPT DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=&DISNCD,UNIT=&DELQ, -- DISP= (NEW,CATLG,DELETE),UNIT=DELQ, // SPACE=(TRK, (30,15),RLSE), // DCB=&DCB2 -- DCB= (PPG.METMODEL,BLKSIZE=0,LRECL=133,RECFM=FB) $/SEPP030.ERRORRPT DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT //SEPP040 EXEC PGM=FILEAID,COND= (0002,EQ,SEPP030) //SYSPRINT DD SYSOUT=* //SYSLIST DD SYSOUT=* //DD01 DD DSN=SYSCMN.PROD.CCLIB (F5910EP1),DISP=SHR $/SEPP040.DD01 DD DSN=Z1225BT.TEST.CCLIB (F5910EP1) E1 - DSS20791E - DATA SET 'Z1225BT.F5910EPP.ERRORRPT.AOUTPUT' HAS AN LRECL OF 133 COULD NOT BE OPENED BECAUSE THE CODED LRECL WAS 80. // DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, -- DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=SHR $/ DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT please find the error code in the above mentioned lines and please suggest me about the error and the solution for that.
01 GROUP-ITEM 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP MOVE ZERO TO GROUP-ITEM ADD 50 TO AMOUNT-1 what will be the content of AMOUNT-1? a.50 b.100 c.0 d.unpredictable
what is the function of spool command?
What are steplib and joblib? What for they are used?
i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.
Describe the EXEC statement, its meaning, syntax and keywords?
How do you find which GDG is using which dataset?