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 do you understand by the term job time – out and how can you overcome that?
what happens in execution stage in job processing?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
Explain the function of the steplib dd statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
How does jcl specify the job to the operating system?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is the significance of addrspc parameter in exec statement?
Can an individual step be restricted from using all the jobs allowed cpu time?
Is acct parameter mandatory?
What parameter directs the output of the job log dataset?
what is JCL?
what is the JCL statement consists of?
A dd statement consists of 4 fields. Name them?
What is jcl in mainframe, and how many types of jcl statements are there for a job?