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 concatenating?
How can a stopped job be started again?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
What is the difference between run mode and addressing mode?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
What are steplib and joblib? What for they are used?
Explain how can a jobs execution priority be modified?
whats the diff bw the evaluate also and and?
What are the 2 types of parameters in dd statement?
When output dataset space is required, what quantity categories are used?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Explain the purpose of the dd keylen parameter?
Suppose I have five jobs to do. But I want to hold one?
What is Cataloged Procedures?
what are JCLLIB and STEPLIB in JCL?