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 |
Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.
When should DISP=MOD is used?
Can you give the sort card to arrange the specific column in the version of GDG.
How can I override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL.
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent
What is jcl in mainframe?
How do you access an uncatalogued dataset in a jcl?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?
What is the difference between the positional and keyword parameters? Give examples.
how to create gdg with out using idcams utility