Re: Use of the %NULLIND built-in function
- From: Birgitta.Hauser@xxxxxxxxxxx
- Date: 6 Mar 2006 06:55:26 -0800
Two questions:
1. The appropriate field in your file can store NULL-Values?
Keyword ALWNULL must be specified in the DDS-Description.
2. Did you specify ALWNULL(*USRCTL) in the H-Specs?
Birgitta
Bill Howie schrieb:
Hello all.....
I was working with the %NULLIND built-in function the other day and
some of the functionality of it seemed to be unclear. From what the
IBM manuals say, it appears that this function actually makes a field
have a null value, such that if you were to use it in this way:
Eval %NULLIND(Field1) = *On
Then Field1 would have a value of null if you then did a UPDATE to the
file. As I was running a program through debug where I had a scenario
like this, it didn't behave this way. It actually didn't affect the
value I saw in the field at all, at least through using debug. I was
just curious if I am fully understanding the use of this function.
Does this actually update the field or just set the null "property" of
the field? Or does the fact that I was looking at it in debug make it
appear differently? Any feedback would be appreciated. Thanks.
.
- Follow-Ups:
- Re: Use of the %NULLIND built-in function
- From: Bill Howie
- Re: Use of the %NULLIND built-in function
- References:
- Use of the %NULLIND built-in function
- From: Bill Howie
- Use of the %NULLIND built-in function
- Prev by Date: Use of the %NULLIND built-in function
- Next by Date: Does anybody know how to do UnitTest on ISeries?
- Previous by thread: Use of the %NULLIND built-in function
- Next by thread: Re: Use of the %NULLIND built-in function
- Index(es):
Relevant Pages
|