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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you understand error(execution phase)?

1192


what JCL Procedures?

1205


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1154


what is the difference between JES3 and JES2?

1095


Are there any set of rules for the names of the steps used in a job?

1070


Is it possible to left uncode disp?

1159


what is use of dsn parameter in dd statement?

1128


How can an in-stream dataset be terminated?

1305


when does a dataset go uncataloged?

1265


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

1182


Explain the purpose of dd dummy statement?

1173


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1195


What is multithreading in jcl?

1411


How do you overcome this limitation ?

1167


Where & How Do You Code Identifier In Jcl?

1228