How to pass the temp dataset form one JOB step to another?
Answers were Sorted based on User's Feedback
Answer / guest
By specifying the DISP as PASS for the temp dataset
Is This Answer Correct ? | 14 Yes | 2 No |
Answer / devang
By coding DISP=(,PASS,) on DD statement the dataset is
passed to the next step.
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / kumar
By coding DISP=PASS,Delete on dd statement,it passes the
dataset to
another dataset.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / satyasivaji.ch
By coding DISP=PASS,on dd statement,it passes the dataset to
another dataset.
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / shridhar
DISP=(NEW,PASS)
DISP=SHR/(MOD,DELETE,DELETE) ETC.
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / kiran
What is the meaning of 'Passing from one step to another step'?
Is This Answer Correct ? | 0 Yes | 2 No |
what will be the error code if duplicate key of VSAM file is found?
when GDG version number get changed ? bcz always Generations only increasing.
Min no of member?s (PDS) in one directory block?
what is the purpose of coding class parameter in job statement?
What will happen if we write two STOP RUN's in a COBOL program?
If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?
if we give TIME=0 how many sec that job/step
Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??
List in order the hierarchical levels of jcl?
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.