Re: Use of the %NULLIND built-in function



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.

.



Relevant Pages

  • Re: AddedMissingFiles :: Strange linker errors (LNK2005) in Release build only .... why ??
    ... Is there a way to specify that duplicate symbols are "ok" or to force the ... >> all seems fine in the debug build. ... >> the MSVCR71.dll has internally linked to the malloc/free implementations ... > Internal functions do call malloc/free ...
    (microsoft.public.vc.stl)
  • Re: problem with release DLL.
    ... if i provide .def, .xml and some other files with both debug and release ... fine with debug version,but crashes with release version. ... When you specify the files, do you specify the full path (e.g. ... The relative path changes depending on how the program is run. ...
    (microsoft.public.vc.mfc)
  • Re: crash when passing iterators between modules
    ... FWIW we specify ignore library MSVCRT.Lib in our ... debug builds under the linker options for "ignore specific library". ...
    (microsoft.public.vc.stl)
  • Specifying Debug vs. Release post-build steps in VS.NET
    ... Visual Studio 6 allows users to specify seperate post-build steps to ... perform on Debug and Release builds. ...
    (microsoft.public.dotnet.languages.csharp)