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



I do not believe so, the chain is a combination of SetLL and ReadE, If it
fails the SetLL it shouldn't read a record in the file. A quick test
would be to replace the Chain with the SetLL and ReadE and see if the
process produces the same results.

Jeff Davis
Programmer
Dental Network of America
2 Transam Plaza Drive, Suite 500
Oakbrook Terrace, IL. 60181
630.691.0336




"Brown, Stephen GRNRC" <Stephen.Brown@xxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
01/21/2009 08:31 AM
Please respond to
"RPG programming on the IBM i / System i" <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
Failed Chain question.






Hope this makes sense

We have a lot of old code on our system and I have a bit of a block on
what I think can be an issue but I'm not sure if I dreamt or not.

This code doesn't make much use renames etc so files tend to share field
names. The point is this, when chaining to a file and you don't get a
match can the field values from the file of the failed chain overwrite
the same named field values in the program ? I seem to think it can but
I'm not 100%.

E.G.

Field Prdid is used in more than 1 file and shares the name throughout.

Say Prdid = 'A' from a previous file or move etc.

Chain to another file that contains the field Prdid fails, can the
value of any of the records on this file overwrite the value of Prdid
even though the chain actually failed.

Thanks










------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: If you have received this email in error, please
immediately notify the sender by e-mail at the address shown. This email
transmission may contain confidential information. This information is
intended only for the use of the individual(s) or entity to whom it is
intended even if addressed incorrectly. Please delete it from your files
if you are not the intended recipient. Thank you for your compliance.
Copyright 2009 CIGNA
==============================================================================

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.