×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




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. 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.