× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks Barbara! Well, rather than consider this a bug or a feature, I'm considering it an opportunity to learn about the C APIs. Thanks to all who responded!!

*Peter Dow* /
Dow Software Services, Inc.
909 793-9050
pdow@xxxxxxxxxxxxxxx <mailto:pdow@xxxxxxxxxxxxxxx> /

Barbara Morris wrote:
Peter Dow (ML) wrote:
You said "The current behaviour may seem like a bug for an application that wants to behave like DSPPFM; but it is a feature for an application that was never intended to work if a record had a null-valued field." My feeling is that the application that wants an error when a null value is encountered can just use ALWNULL(*NO); the application that wants to behave like DSPPFM (mine!) should be able to specify ALWNULL(*INPUTONLY).

Was Chuck Pence's explanation of what's going on correct? Is it just that the open for a program-described file is not requesting ALWNULL(*INPUTONLY) for that file?


Peter, I personally agree that ALWNULL(*INPUTONLY) _should_ have also applied to program described files; I don't know why it was restricted to externally-described files. But since it didn't apply to pgm-desc files when *YES was first introduced in V2R1 or when *INPUTONLY (= *YES) was introduced in V3R7(?), it can't start applying to them now. Some new syntax would have to be added that would make alwnull apply to program described files.

Yes, Chuck's explanation was correct.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.