× 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.



Hello,

I'm revisiting an old… friend of mine, a LF with a select/omit clause.

According to the example show here:

https://www.ibm.com/docs/en/i/7.4?topic=80-comp-comparison-keyword-physical-logical-files

…it's valid to use COMP(NE *NULL).

If I use *NULL in my LF as shown there, the DDS compiler complains with CPD7904, *NULL is an invalid value.

Comparing the original DDS with the V4 documentation (https://ibmdocs.pocnet.net/SC41-5712-01.pdf), there has been no change from V4 to V7. At least, I can't see it. ;-)

You can have a look at the DDS source here:

https://leela.pocnet.net/~poc/OSMRPTMLF.pdf

https://leela.pocnet.net/~poc/OSMRPTOLF.pdf

(Dcapf is fed via external perl script automatically, osmatchpf is maintained manually. For every occurrence of a unique entry in dcapf, there must be a matching entry in osmatchpf. Goal is to be able to check for missing and orphaned records in osmatchpf.)

I'd be glad if someone can shed some light on this issue. Thanks!

Please refrain from telling me to use SQL. I do that currently and thus program start is comparatively slow.

:wq! PoC


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.