|
Thanks Penny, I already use this method for calling programs on the iSeries. I have a middleman program I call this way to get the results from my service program and return them to my VARPG program. I would like to get rid of the middleman program and call my service procedure directly. Mike -----Original Message----- From: pennylancor@xxxxxxxxxxx [mailto:pennylancor@xxxxxxxxxxx] Sent: Monday, November 29, 2004 12:28 PM To: Websphere Development Studio Client for iSeries Subject: Re: [WDSCI-L] Two VARPG questions The following is an example of calling an individual iSeries program from VARPG. The key being the "linkage" statement. I have done calls to a module in a binding directory using a prototype, but I don't have that example handy: D PGMNAME C '*LIBL/PGMNAME' D linkage(*SERVER) * C Call PGMNAME 90 C Parm @Parm1 Regards, Penny Lancor -------------- Original message -------------- > 1. Is there a email list like this for VARPG? I know of the newsgroup but my > company is reluctant to give me access to it. > 2. Can a VARPG program call a procedure that resides in a service program on > the > iSeries? I have looked but cannot find a way to define the prototype so that > I > don't receive a linkage error. > > Any help would be appreciated. > > Thanks in advance. > > Michael Tobey > Applications Analyst > Foremost Farms USA > mike.tobey@xxxxxxxxxxxxxxxxx > IBM Certified AS/400 RPG IV Developer & RPG IV Programmer > > > > _______________________________________________ > This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing > list > To post a message email: WDSCI-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/wdsci-l > or email: WDSCI-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/wdsci-l. _______________________________________________ This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.