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 email@example.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: firstname.lastname@example.org +---END
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.