|
Barbara, ARR744 is an old RPGIII program that receives parameters, performs complex calculations, then returns values to the calling program. I created an RPGIV program that uses this RPGIII program to get needed information. The RPGIV program uses all subprocedures, which forced me to define ARR744 as a prototype in order to call it. If there's another way to do it, I'd like to know. Thanks, Frank Barbara Morris <bmorris@xxxxxxxxxx>@midrange.com on 07/13/2004 05:25:01 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx To: rpg400-l@xxxxxxxxxxxx cc: Subject: Re: prototype data fkany@xxxxxxxxxxxxxxxxxx wrote: > > Eric, > > Thanks for the help. I changed the $START parameter in PROGRAM_1 to 30 > instead of 1 and it took care of the problem. > Did you change the parameter on the prototype too? The prototype should match what program ARR744 expects. Ideally, program ARR744 would use the prototype too, with a matching PI, where the prototype is in a shared /copy file. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-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.