|
Oops. Premature send. I think I've been hacked. Weird keys doing weird things. Yikes... Anyhow, if what you mean by initial value is the first value that the developer puts in the field (because a field's initial value is the default for that type - e.g., character is blank, numeric is 0, etc.), then that's not correct. It's the value as it exists at the end of the *InzSr subroutine. So if the first time the developer stores a value in the field is in the C-specs outside the *InzSr, that value will not be used for Reset. Instead, the default value for the type (because it wasn't set by the developer in *InzSr) is used. Gary Guthrie Senior Technical Editor, iSeries NEWS Bob Cozzi wrote: > > The way RESET works (or at least the way it was designed) was that it > took a mirror image of the initial value stored in a field--made a copy > of it--then moved it back when the RESET opcode is used.
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.