×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




This would also be true if there was no call to another program.

Pgm A successfully CHAINs to File X
Field XDATA is filled with values from file
Pgm A does something with the fields that came from File X
Pgm A loops around to try to read File X again
Pgm A UNsuccessfully CHAINs to File X
The fields that came from File X in the successful chain are still populated
with the data that came in the previous time.

Program loop logic needs to know if access was successful or not, and/or
clear some fields or indicators associated with each access.

> From: dschopp@imt.net (David Schopp)
>  --
>  Okay, I gotta make sure I'm on track here -
>
>  (This is all OPM, by the way)
>
>  Pgm A calls Pgm B
>
>     Pgm B  successfully CHAINs to File X
>
>        Field XDATA is filled with values from file
>
>     Pgm B RETRNs to Pgm A without setting on LR
>
>  Pgm A calls Pgm B 2nd time
>
>     Pgm B UNsuccessfully CHAINs to File X
>
>
>  On the second, unsuccessful chain, field XDATA RETAINS the values from the
>  previous read, correct?  (It's unsuccessful because the key data doesn't
>  exist).

MacWheel99@aol.com (Alister Wm Macintyre) (Al Mac)


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