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

What do you understand by the term job time – out and how can you overcome that?

1032


what happens in execution stage in job processing?

1145


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2295


Explain the function of the steplib dd statement?

1136


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1323


How does jcl specify the job to the operating system?

1245


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

1226


What is the significance of addrspc parameter in exec statement?

1210


Can an individual step be restricted from using all the jobs allowed cpu time?

1556


Is acct parameter mandatory?

1210


What parameter directs the output of the job log dataset?

1280


what is JCL?

1161


what is the JCL statement consists of?

1191


A dd statement consists of 4 fields. Name them?

1420


What is jcl in mainframe, and how many types of jcl statements are there for a job?

1193