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 |
I have a File that has duplicate records. I need only those records that occur more than thrice.
how to split a file
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?
How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.
What is RESTART? How is it invoked?
I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.
How can we see data in TEMPARARY DATA SET in JCL ?
How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?
how to resolve the soc4 error?
Matching Logic in Jcl not in cobol.Could any one please answer this question