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



>1. SHARE(*YES) in a CL before opening the file.
>
>2. I am executing the READ operation on the file
>   in module 'M1' and calling a procedure 'P1'
>   from a different module 'M2' which reads the
>   file  -snip-
>
>3. The scenarios taking place are as follows:
>   When I 'READ' the file, it does not indicate
>   EOF but the field values picked are blanks or 000.00
>
>4. If I move the procedures in the separate module(M2)
>   to the caller module(M1) and do not bind the module M2
>   while CRTPGM the program runs fine.

The shared ODP is the way I normally handle this.  Is there any chance that
P1 has local names that are the same as the field named in the file that you
are reading?
  --buck


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.