|
|
| Author |
Message |
arunswap
New User
Joined: 23 Mar 2006 Posts: 13
|
|
|
|
| How to pass data in JCL as we cant use DD SYSIN * in procedures? |
|
| Back to top |
|
 |
References
|
Posted: Mon Apr 17, 2006 10:30 am Post subject: Re: Pass data in JCL as we cant use DD SYSIN * in procedures |
 |
|
|
 |
prakash271082
Active User
Joined: 09 Sep 2005 Posts: 61
|
|
|
|
Hi,
This Could be solved in 2 ways,
1. You Could use PARM, I suppose.
2. You Could override SYSIN DD DUMMY statement of your proc during call time of that proc.
Hope this helps. |
|
| Back to top |
|
 |
tray_cts
New User
Joined: 07 Apr 2006 Posts: 1
|
|
|
|
| If you want to pass dynamic data (like dates) in the proc, i believe you can use the K9801GCP program |
|
| Back to top |
|
 |
vidhyanarayanan
Active User
Joined: 23 Dec 2005 Posts: 54
|
|
|
|
hi,
to pass data externally, as far as jcl is concerned...PARM is the best choice. |
|
| Back to top |
|
 |
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1493
|
|
|
|
In the proc code //sysin dd ddnam=anyddn
After the proc invoking exec stmt code //anyddn dd * followed by your sysin data. Not sure if you have to code //stpname.anyddn dd *.
You can test or look it up. |
|
| Back to top |
|
 |
ektaag
New User
Joined: 21 Mar 2007 Posts: 11 Location: bangalore
|
|
|
|
hi
i am trying to implement thi s
In the proc code //sysin dd ddnam=anyddn
After the proc invoking exec stmt code //anyddn dd * followed by your sysin data. Not sure if you have to code //stpname.anyddn dd *.
but getting error
not able to locate my file ex-- anyddn |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7903 Location: 221 B Baker St
|
|
|
|
Hello,
If you post your proc and your execution jcl with the override, we can probably help. |
|
| Back to top |
|
 |
|
|