Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
Ron Power wrote:
*hival as far as I knew has no end... isn't it an infinite number?
Nope, there are no infinite numbers in computing. And anyway, it depends - with a 1 digit index, *HIVAL would be 9. But as of V5R3, the index used for no-result-field is 63 digits long - it would take an awfully long time to count that far.(*) If you have TRUNCNBR(*YES) on the H spec (the default), then when the loop reaches the maximum, it would wrap around to zero again. With TRUNCNBR(*NO), you'd eventually get overflow. (*) I saw somewhere that the number of atoms in the universe is 10 to the 80th power; I imagine 10 to the 63rd power would let you at least count all the atoms in say the solar system ...
This mailing list archive is Copyright 1997-2026 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.