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



Yes I got that...but how is the field in the file itself defined??? Surely the
field name in the file isn't W#TRAK (at least I would hope...)


Thanks,
Tommy Holden


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On
Behalf Of Fred Horvat
Sent: Monday, June 11, 2007 1:16 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Accessing a File with a Variable Key

From the Compile listing W#TRAK says it is:

W#TRAK A(20) 64D 445 546M

VARYING


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Holden Tommy
Sent: Monday, June 11, 2007 1:51 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Accessing a File with a Variable Key

Post the actual key field definitions for the file...could be that your
klist does not match the actual file field definitions. Is the 3rd key
"actually" a varying field???


Thanks,
Tommy Holden


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Fred Horvat
Sent: Monday, June 11, 2007 12:33 PM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Accessing a File with a Variable Key

Oops, yes the K was needed and I added it. I put that in and get the
following error message now for the SETLL statement.


*RNF7073 30 1 Length of KFLD is not equal to corresponding key field in

file.


-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Kesterson, Randy
Sent: Monday, June 11, 2007 1:06 PM
To: RPG programming on the AS400 / iSeries
Subject: RE: Accessing a File with a Variable Key

I'm sure this is not it, but you wouldn't have forgotten the K in the F spec
would you?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.