• Subject: Re: prototyping
  • From: Rob Berendt <rob@xxxxxxxxx>
  • Date: Fri, 30 Jul 1999 16:15:32 -0500

How's about you giving a copy of pgmb?  Then we could give you a 
better example.  At least copy the plist and a few sample lines of code.





RNANCE@commerceinsurance.com on 07/30/99 04:04:23 PM
Please respond to RPG400-L@midrange.com@Internet
To:     RPG400-L@midrange.com@Internet
cc:      
Fax to: 
Subject:        prototyping

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



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



This thread ...


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

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