× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: RPG - conversion vs re-write
  • From: Bob Cozzi <BobCozzi@xxxxxxx>
  • Date: Fri, 12 Sep 1997 09:45:58 -0500

John,

I think what would be great is if the system itself would detect the NULL 
indicator and handle it as an exception: showing *NULL for the field's 
value, for example on the DSPPFM or RUNQRY output. In RPG IV, perhaps some 
overhead or a Header spec keyword could be added to cause additional code 
that would handle fields with their NULLID set on. Like if you use a date 
field with the ADDDUR operation code, the error indicator would get set on, 
or *PSSR or something else would be evoked.

Bob Cozzi
Bob@RPGIV.COM
www.rpgiv.com
AS/400 Books:  http://www.rpgiv.com/as400Books.html


On Thursday, September 11, 1997 9:27 PM, John Carr [SMTP:74711.77
>
> To the other person who said "I'd like to see the value be *LOVAL or
> something"  I don't think that the same value in all data types would
> accomplish it.  Lets say the value for Null was X'00'  how would that
> look in a Binary field?  I don't think it would "Special" I think it
> would be seen as just a normal Zero value, Right?
> I mean in a Zoned Decimal or a Alpha field it would stand out like a
> sore thumb on a DSPPFM  etc.  But the binary wouldn't look abnormal.
> I think it's an attribute of a field myself.
> Maybe I'm wrong on this though.
> John Carr

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.