Answer Posted / abhijit18in2002
Instream data is the Paratmeter we pass through SYSIN
Catalog Procedure does'nt take Instream data
Example
//NEWPROC PROC
//ABCPGM EXEC PGM=IDCAMS
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//INDD1 DD DSN=ABC.XYZ.DSP,DISP=SHR
//OUTDD1 DD DSN=PQR.XYZ.NOP,DISP=SHR
//SYSIN DD *
REPRO INDD(INDD1) –
OUTDD(OUTDD1)
/*
It will fail
Instead use
//SYSIN DD DSN=ABC.DFG.PARM,DISP=SHR
/*
Put the following in this data set ABC.DFG.PARM
REPRO INDD(INDD1) –
OUTDD(OUTDD1)
It will run fine
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
How would you understand error(execution phase)?
what JCL Procedures?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
what is the difference between JES3 and JES2?
Are there any set of rules for the names of the steps used in a job?
Is it possible to left uncode disp?
what is use of dsn parameter in dd statement?
How can an in-stream dataset be terminated?
when does a dataset go uncataloged?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
Explain the purpose of dd dummy statement?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is multithreading in jcl?
How do you overcome this limitation ?
Where & How Do You Code Identifier In Jcl?