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 is DSN in JCL and what are the parameters to declare the DSN?

1251


What are the 2 types of parameters in dd statement?

1210


What are the parameter we cannot use in procedure?

1197


what is use of dsn parameter in dd statement?

1201


what are the types of abends that occur on job failure? And explain the possible causes of these

1685


How can the disposition of sysout datasets be set for an entire jobstream?

1389


What does a disposition of (MOD,DELETE,DELETE) mean ?

1191


What is the purpose of dd?

1295


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2655


When output dataset space is required, what quantity categories are used?

1421


How would you understand error(execution phase)?

1320


How to do automated restart when a job abend?

1480


Is their any limit for data sets?

1244


What is concatenating?

1140


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1175