can we give instream data in procedure
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / shriram supalwar dharmabad
No we cannot code instream data to procedure.
to overcome this
- code SYSIN DD DUMMY in the proc
- then override this from the JCL with instream data
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sush
we cwngive instream data in instream procedure.when we call
the procedure
| Is This Answer Correct ? | 1 Yes | 3 No |
Answer / chowdary
procedure are two types 1) instream and 2) catlog
we can give instream data up to 15 level may be like that
it might be possible,
if any one know correctly please post
| Is This Answer Correct ? | 2 Yes | 11 No |
Is condition checking possible in jcl?
How to execute only th 15th step of JCL consisting of 50 steps?
I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.
What is the difference between a PDS member and a GDG Generation ? Is it only this, that with a generation we can use +1, 0, -1 etc while with PDS member we can not ?
In SPACE,what is directory,RLSE
What are the common jcl syntax errors you get? This is not abends?
what is meant by jobtrac?
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
How to execute step2,step1,step3 when step1,2&3 are in order
how to allocate a dynamic dataset in jcl ?
Can we change the LIMIT of GDG?
What is the function of the dd mgmtclas keyword in sms datasets?