× 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 have been working with IBM on that issue.  They have a PTF to fix the
chain using a file name.  The problem is that they only fixed part of the
issue. 
The PTF allows Chain (field1:field2) FileName; but does not work with the
%KDS.  The target date for this fix is 2/15.

There is another problem if you try to use an array to store a key.
Example: CatalogArray is an array that stores values used to loop and chain
to get additional information.

For x = 1 to %Elem(CatalogArray);
Chain CatalogArray(x) CatalogFile;
.....

This will always use the value in the first array element. No error - your
program runs but the results are wrong.

This has to be coded:  Chain (CatalogArray(x)) CatalogFile;

IBM is working on that also.


Stacy Svir



-----Original Message-----
From: Bartell, Aaron L. (TC) [mailto:ALBartell@taylorcorp.com] 
Sent: Tuesday, February 11, 2003 12:11 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: %kds


This is a compile and documentation error.  You should be able to use the
file name.  A call has been put into IBM to get it fixed.

Stacy, correct me if I am wrong. . .

Aaron Bartell

-----Original Message-----
From: mlazarus@ttec.com [mailto:mlazarus@ttec.com]
Sent: Tuesday, February 11, 2003 11:49 AM
To: rpg400-l@midrange.com
Subject: RE: %kds


> Try replacing the file name in the CHAIN with the format name.  That 
> burns
me frequently when I use %KDS.  I have always used the file name on chains
and old habits die hard. :)

 That sems like a silly resctriction.  Why should the format be required
instead of the file name?

 -mark


--------------------------------------------------------------------
mail2web - Check your email from the web at http://mail2web.com/ .



_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.

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.