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
what is DSN in JCL and what are the parameters to declare the DSN?
What are the 2 types of parameters in dd statement?
What are the parameter we cannot use in procedure?
what is use of dsn parameter in dd statement?
what are the types of abends that occur on job failure? And explain the possible causes of these
How can the disposition of sysout datasets be set for an entire jobstream?
What does a disposition of (MOD,DELETE,DELETE) mean ?
What is the purpose of dd?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
When output dataset space is required, what quantity categories are used?
How would you understand error(execution phase)?
How to do automated restart when a job abend?
Is their any limit for data sets?
What is concatenating?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?