|
> -----Original Message----- > From: Joep Beckeringh [SMTP:joepb@tip.nl] > Sent: Wednesday, August 18, 1999 1:50 PM > To: RPG400-L@midrange.com > Subject: Re: Code Problem... > > > But why are you comparing a data structure to *OFF? According to the > documentation *ON is all ones and *OFF is all zeros, so after you set on > *IN02, SomeDs is neither *ON nor *OFF. > > Joep Beckeringh > What I was trying to do was this Inputerr DS name_err 55 Street_err 56 phone_err 57 .... So then I would have the DDS PC and RI set to it's indicator. so my edit check would Eval Street_err = *on , if there was an error with the data. So then I would do a looping routine that would re-show the screen until inputerr = *off I would never look for the *on value, just that the datastructure was equal to *off meaning there were no errors for that group of data. tim +--- | 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-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.