|
q_name is one of three output parameters. I've experimented with VARYING and V5R1 doesn't like it. It looks like I'll go with %SUBST. >From: "Bob Cozzi" <COZZI@xxxxxxxxx> >Reply-To: RPG programming on the AS400 / iSeries <RPG400-L@xxxxxxxxxxxx> >To: "'RPG programming on the AS400 / iSeries'" <RPG400-L@xxxxxxxxxxxx> >Subject: RE: Problems with parameters >Date: Fri, 27 Feb 2004 22:11:03 -0600 > >Use the length from CEEDOD with %SUBST to extra the data and copy it into >your database record/buffer. >I would suggest attempting to code the parameter like this instead, as it is >much easier to deal with: > D q_name 30A Const VARYING options(*omit:*nopass) > >Of course if your not on V5R1, you'll have to use the CEEGSTA API to test >the parm for *OMIT since that doesn't work prior to V5.1 with CONST parms. > >-Bob > ---------------------------------------------------------------------- Stay informed on Election 2004 and the race to Super Tuesday.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.