i have a file that has a numeric field that is being cleared early in a program if certain conditions are meet as the file is being made...i need to check later before that file is printed to see if those conditions have changed....the numeric field is the key....it's not having zeros put in it..but being cleared...how can i check this qualification in an if statement..won't let me use:
field = *blanks
using:
field = *zero
but worried that won't give me what i'm looking for...any suggestions?
thanks in advance
Software/Hardware used:
ASKED:
March 8, 2006 9:31 AM
UPDATED:
December 1, 2009 6:55 AM
1. When a numeric field is cleared (opcode = clear) the field is set to 0 (*zeros).
2. I would question the use of the field in this way as 0 (zero) is a valid value……you’d be better off to find another way.
it’s being cleared by:
clear field
it’s being cleared by:
clear field
If that’s true and “field” is set to blanks by that operation, then “field” is not a numeric field. And that doesn’t go with your earlier assertion that “won’t let me use: field = *blanks”. One of those assertions is wrong. Which one?
Tom