|
David, Was there something about the options that I pointed out that you didn't agree with? I guess what I'm wondering why you're addressing this message to me, rather than posting it saying "in addition to scott's options you can do it with varying fields like this..." "David Morris" <dmorris@plumcreek.com> wrote: > Mark & Scott, > > On V3R2 you do not have very many options. On V4R2+ I would opt to > pass my input string as a varying length CONST field. I do not have > the > source handy for a center string I have been using, but the prototyp > is > something like: > > DCntStr PR 32765A VARYING > D InpStr 32765A VARYING CONST > D OptOutStrL 5U 0 OPTIONS(*NOPASS) CONST > > Using varying strings you can make your procedure work a lot more > like IBM's built-in functions. They also get around the parameter ty > limitations imposed by OPDESC. +--- | 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 +---
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.