× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello People,

I am in the process of evaluating RPGILE with a team of people (8) 
and I have been having a diffacult time creating a subprocedure.  Let 
me lay out what I have and what I want to do leave the rest to you..

I have a program (pgma) that calls a program (pgmb).  Pgmb receives 
some parms, performs some calculations and returns several values.  
Pgmb contains only calculation specs and definitions.  

So I believe this will make an ideal subprocedure.

I am not sure if I have to use the /copy to bring pgmb into pgma 
after I add the necessary prototype code and I am not sure how to set 
up the parameters.  The example in the programmers guide is not clear 
enough for me or I am very dense.

I have been using the ILE RPG/400 programmers guide and I am not 
haveing any luck completing my task.  So, a simple coding example 
would help me tremendously.

PGMA
   code example

PGMB
   code example

Ronald Nance
Commerce Insurance Group
Webster, MA. 01570
(508) 943-9000 Ext: 4078

rnance@commerceinsurance.com
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---END



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-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.