|
Steve, Mel will no doubt answer, but you can do that certainly, but you might also want to change the implementation of the zhbGetVar procedure so that it uses 100-byte work fields (local variables) as well. -Bob -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Stephen D. Engel Sent: Tuesday, February 24, 2004 6:13 AM To: 'RPG programming on the AS400 / iSeries' Subject: RE: FW: Have you seen this? Mel, Could I just copy PROTOTYPEB, calling it PROTOTYPEC, and change this statement from D ZhbGetVar pr 32767 varying To D ZhbGetVar pr 100 varying The 100 would reflect the largest field size coming from the browser form. I have changed my program to use this modified version. The program compiles fine and testing so far has not yet revealed any issues. Would/should there be any other statements changed in PROTOTYPEC to support the length change? I don't have a complete grasp of these techniques but this appears to be an option. If this is an OK alternative, I would have to remember to apply any changes to PROTOTYPEC whenever PROTOTYPEB changes. Steve -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Mel Rothman Sent: Monday, February 23, 2004 8:45 PM To: rpg400-l@xxxxxxxxxxxx Subject: Re: FW: Have you seen this? Steve, Also be sure to see my post entitled "Re: FW: Have you seen this? An improved way." It is much better than the method I posted first. Mel Rothman, CGIDEV2 Author Mel Rothman, Inc. _______________________________________________ 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. _______________________________________________ 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.