|
*hival is equal to Hex FF , *loval is equal to 00 Hex excerpt from the RPG/400 Reference Manual Figurative constants can be specified in positions 18 through 27 (factor 1) and in positions 33 through 42 (factor 2) of the calculation specifications. The following shows the reserved words and implied values for figurative constants: Reserved Words Implied Values *BLANK/*BLANKS All blanks. Valid only for character fields. *ZERO/*ZEROS Character/numeric fields: All zeros. *HIVAL Character fields: The highest collating character for the system (hexadecimal FFs). Numeric fields: All nines with a positive sign. *LOVAL Character fields: The lowest collating character for the system (hexadecimal zeros). Numeric fields: All nines with a negative sign. *ALL'x..' Character/numeric fields: Character string x . . is cyclically repeated to a length equal to the associated field. If the field is a numeric field, all characters within the string must be numeric (0 through 9). No sign or decimal point can be specified when *ALL'x..' is used as a numeric constant. *ALLX'x1..' Character fields: The hexadecimal literal X'x1..' is cyclically repeated to a length equal to the associated field. *ON/*OFF *ON is all ones. *OFF is all zeros. Both are only valid for character fields. Don Sears <A HREF="http://anthillrep.bizland.com/seti.htm">Join the Search for Extraterrestial Life at Home Program</A> http://anthillrep.bizland.com/seti.htm <A HREF="http://www.dotad.com/Default.asp?ID=279882">Invite Harry into your Browser and make money from the Internet</A> http://www.dotad.com/Default.asp?ID=279882 <A HREF="http://www.alladvantage.com/go.asp?refid=DZI415">Click Here to Make Money Surfing the Web, Free and Easy</A> http://www.alladvantage.com/go.asp?refid=DZI415 <A HREF="http://members.aol.com/_ht_b/searsdon/searsdon.htm">Pyxidium - Money Making Ideas. Alien Movie Sites, H. R. Giger, and Humor Sites</A> http://anthillrep.bizland.com +--- | 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-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.