Page 1 of 1

How do you code an instream data in a proc

Posted: Tue Feb 14, 2006 5:22 pm
by vidhya
How do you code an instream data in a proc

Posted: Fri Feb 17, 2006 4:54 pm
by Rupesh.KOthari
Hi Vidya,
How do you code an instream data in a proc
Could you please explain in more details what is you exact requirement?

instream data in a proc

Posted: Sat Apr 22, 2006 3:31 pm
by kvenkat_b4u
hi vidya,

if it is instream procedure u are not able to use
//sysin dd *
value1,value2.....valueN
/*

instead use below
//sysin dd dsn=partitioned data set,disp=shr or
//sysin dd dsn=pds(member),disp=shr

if it is a catalog proc,we can can use

//sysin dd *
value1 value2 ......valueN
/*

thanks,
kvenkat_b4u@yahoo.com

i think this may helps u vidya

Posted: Mon Apr 24, 2006 10:49 am
by arrbee
You cannot use instream data inside a PROC. It is a rule. Instead, you code some dummy statement inside the PROC and override the particular step's DD statement from the JCL before you execute it.

HTH.