How to pass the temp dataset form one JOB step to another?

Answers were Sorted based on User's Feedback



How to pass the temp dataset form one JOB step to another?..

Answer / guest

By specifying the DISP as PASS for the temp dataset

Is This Answer Correct ?    14 Yes 2 No

How to pass the temp dataset form one JOB step to another?..

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

How to pass the temp dataset form one JOB step to another?..

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

How to pass the temp dataset form one JOB step to another?..

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

How to pass the temp dataset form one JOB step to another?..

Answer / shridhar

DISP=(NEW,PASS)

DISP=SHR/(MOD,DELETE,DELETE) ETC.

Is This Answer Correct ?    0 Yes 1 No

How to pass the temp dataset form one JOB step to another?..

Answer / kiran

What is the meaning of 'Passing from one step to another step'?

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JCL Interview Questions

what will be the error code if duplicate key of VSAM file is found?

1 Answers   HSBC, Kings,


when GDG version number get changed ? bcz always Generations only increasing.

1 Answers   Cap Gemini,


Min no of member?s (PDS) in one directory block?

10 Answers  


what is the purpose of coding class parameter in job statement?

0 Answers   IBM,


What will happen if we write two STOP RUN's in a COBOL program?

4 Answers   Satyam,






If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?

1 Answers   IBM,


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

0 Answers   IBM,


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?

2 Answers  


if we give TIME=0 how many sec that job/step

14 Answers  


Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??

3 Answers   HSBC,


List in order the hierarchical levels of jcl?

0 Answers  


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.

3 Answers   Cognizant,


Categories