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



On 3/25/2014 12:11 PM, RPGLIST wrote:
This is all within a procedure:

I'm chaining out to a file with a key using a Ds named InDs defined as
*INPUT. Works perfectly, get a hit and I have the record.

I copy InDs to a Ds named OutDs defined as an *OUTPUT, I update the OutDs
with a variety of new values that are needed and then execute the
following statement:

Update RdCobex OutDs;

Executes fine, no errors or anything... but the record is never updated.

Sounds like confusion between global and local variable scope. Put
DUMP(A) in your code immediately before the UPDATE and see if that helps
you. In particular, look to see of there is more than one variable with
the same name as those receiving 'a variety of new values'.
--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.