× 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: How do you use *HIVAL and *LOVAL?????
  • From: Scott Mildenberger <Smildenber@xxxxxxxxxxxx>
  • Date: Mon, 8 Nov 1999 12:29:24 -0700

Sorry, From the ILE RPG Reference:
*HIVAL 
        Character or graphic fields: The highest collating character for the
system (hexadecimal FFs). Numeric fields: The maximum value allowed for the
corresponding field (with a positive sign if applicable). For Float fields:
*HIVAL for 4-byte float = 3.402 823 5E38 (x'FF7FFFFF') *HIVAL for 8-byte
float = 1.797 693 134 862 315 E308 (x'FFEFFFFFFFFFFFFF') Date, time and
timestamp fields: See "Date Data Type" in topic 2.3.4 <2.3.4>, "Time Data
Type" in <2.3.5> topic 2.3.5 <2.3.5> and "Timestamp Data Type" in topic
2.3.6 <2.3.6> for *HIVAL values for date, time, and timestamp data. 
*LOVAL 
        Character or graphic fields: The lowest collating character for the
system (hexadecimal zeros). Numeric fields: The minimum value allowed (with
a negative sign if applicable). For Float fields: *LOVAL for 4-byte float =
-3.402 823 5E38 (x'7F7FFFFF') *LOVAL for 8-byte float = -1.797 693 134 862
315 E308 (x'7FEFFFFFFFFFFFFF') Date, time and timestamp fields: See "Date
<2.3.4> Data Type" in topic 2.3.4 <2.3.4>, "Time Data Type" in topic 2.3.5
<2.3.5> and "Timestamp Data Type" in topic 2.3.6 <2.3.6> for *LOVAL values
for date, time, and timestamp data. 


> -----Original Message-----
> From: R. Bruce Hoffman, Jr. [SMTP:rbruceh@attglobal.net]
> Sent: Monday, November 08, 1999 9:22 AM
> To:   RPG400-L@midrange.com
> Subject:      Re: How do you use *HIVAL and *LOVAL?????
> 
> 
> Sorry, but this is just wrong.
>  *HIVAL is x"FF" and *LOVAL is x"00".  They are not type dependant, they
> are
> constants. Like *ALL"9" or *ZEROS or *BLANKS.
> 
> 
+---
| 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 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.