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



Brian Neifert wrote:
...
Also, after a successful chain, the field values are all blank or null.

Then Simon Coulter wrote:
...
Usual cause is forgetting that file fields (generally) have global scope and providing local variables of the same name (e.g., via a data structure) thus "overriding" them.


Another possible cause is that the fields aren't used in the module. If you are using the debugger to check the field values, and haven't actually used the fields in the code yet, you can add DEBUG(*INPUT) to your H spec. That will stop the compiler from optimizing data moves from the input buffer to the fields. (You have to use DEBUG(*YES) if you are compiling for V5R3 or earlier.)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.