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 |
How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.
what is the COND=EVEN ? Can anyone give me an example to explain the usage.
For how long a job can be executed continuously in a mainframe ?
Explain dfsort utility?
What it does If we specify TYPRUN=P & it is not substituted by SCAN 0r HOLD in VALUE SET.
Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?
How would you understand error(execution phase)?
What is job control language?
What is the purpose of include statement in a JCL?
How can a jobs execution priority be modified?
How many types we can give input to JCL
//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES