|
Alternatively you could force heading output by 'eval #line = *HIVAL' in *INZSR. That probably eliminates the need for variable fsttim as well. Joep Beckeringh ----- Original Message ----- From: "Douglas Handy" <dhandy1@bellsouth.net> To: "RPG programming on the AS400 / iSeries" <rpg400-l@midrange.com> Sent: Wednesday, January 08, 2003 11:18 PM Subject: Re: IFGT vs. IF > Buzz, > > >Nor are you allowed to initialize at the DS level (syntax error). Have I > >missed something in your post? > > No, I missed something. I saw your problem was due to the binary value having > blanks and my knee-jerk reaction was to tell you to INZ the DS. If you always > have a print operation in the when fsttim is 'y', then Ken's suggestion of > reversing the tests will work due to RPG's short-circuit evaluation. > > If not, simply eval line# = *Zero in *Inzsr or whereever. Although you can't > use Inz in this case, I believe you are able to directly modify the fields. > > Doug
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.