Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


can we give instream data in procedure

Answers were Sorted based on User's Feedback



can we give instream data in procedure ..

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

can we give instream data in procedure ..

Answer / sroul4

We can not!!

Is This Answer Correct ?    5 Yes 0 No

can we give instream data in procedure ..

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

can we give instream data in procedure ..

Answer / callee

Sush, we can't give instream data IN any kind of
procedures. We can give one only when we CALL proc.

Is This Answer Correct ?    2 Yes 0 No

can we give instream data in procedure ..

Answer / sush

we cwngive instream data in instream procedure.when we call
the procedure

Is This Answer Correct ?    1 Yes 3 No

can we give instream data in procedure ..

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

Post New Answer

More JCL Interview Questions

Hi, Please clear me when COND=ONLY and COND=EVEN. Explain me with example.

2 Answers   GJ,


When should DISP=MOD is used?

6 Answers   TCS,


Can you give the sort card to arrange the specific column in the version of GDG.

1 Answers  


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.

3 Answers  


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?

0 Answers  


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

4 Answers   Mind Tree,


What is jcl in mainframe?

0 Answers  


How do you access an uncatalogued dataset in a jcl?

0 Answers  


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

0 Answers   CSC, SPIC,


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 ?

3 Answers  


What is the difference between the positional and keyword parameters? Give examples.

0 Answers  


how to create gdg with out using idcams utility

8 Answers   DSRC,


Categories