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



Try putting the number of keys into the %KDS - %Kds(DetKey:3)
 
HTH
 
Regards 
 
Andy Youens

________________________________

From: wdsci-l-bounces+andy=formaserve.co.uk@xxxxxxxxxxxx on behalf of Cromar, 
Graham
Sent: Tue 23/03/2004 03:41
To: 'wdsci-l@xxxxxxxxxxxx'
Subject: [WDSCI-L] Verification reports spurious error message when using%kds 
bif



I received the following severity 30 error message when attempting to verify
an RPG IV free format program which uses the %kds built-in-function to chain
to a logical file with multiple key fields. The data structure was set up as
follows:

  FLFCHDETL  uf a e           k disk  
  D DetlKey         DS                  likerec(RFCHDETL : *Key)
/free
          DetlKey.CHEMP = CHEMP;
          DetlKey.CHDATE = CHDATE;
          DetlKey.CHTIME = CHTIME;
          Chain %Kds(DetlKey)LFCHDETL;    
/end-free


RNF7071: Number of KFLDs in KLIST is greater than number of key fields in
file.

As you can see, it is quite impossible for the data structure to have a
different number of key fields than the file when specified in this manner.
In fact, when you actually compile the program you get no errors. IIRC, I am
running WDSc version 5.1.0.2   Anyone else run into this one?


> Allied International Credit Corp.
> Graham Cromar
> Senior Programmer/Analyst
> 16635 Yonge Street, Suite 26, Newmarket,  Ontario, L3X 1V6
> Tel: (905) 944-4715, Fax: (905) 470-8155
> Email: graham.cromar@xxxxxxxxxxx
> http://www.aiccorp.com
>
This email message and any attachments are intended only for the use of the
addressee named above and may contain information that is privileged and
confidential.  If you are not the intended recipient, any dissemination,
distribution, copying, or the taking of any action in reliance on the
contents of this e-mail or information is strictly prohibited.  If you
received this email message in error, please immediately notify the sender
by replying to this email message or by telephone. Thank you.



_______________________________________________
This is the Websphere Development Studio Client for iSeries  (WDSCI-L) mailing 
list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l. 
--------------------------------------------------------
FormaServe Systems Ltd 
91 Redland Drive 
Loughton 
Milton Keynes 
Bucks  UK 
MK5 8FL 
 
T: +44 (0)1908 609500 
W:www.formaserve.co.uk 
    www.iseriestraining.co.uk 
E: Info@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
 
 
This message (and any associated files) is intended only for the use of 
wdsci-l@xxxxxxxxxxxx and may contain information that is confidential, subject 
to copyright or constitutes a trade secret.  
If you are not wdsci-l@xxxxxxxxxxxx you are hereby notified that any 
dissemination, copying or distribution of this message, or files associated 
with this message, is strictly prohibited.  
If you have received this message in error, please notify us immediately by 
replying to the message and deleting it from your computer.  
Messages sent to and from us may be monitored.  
Any views or opinions presented are solely those of Andy Youens and do not 
necessarily represent those of FormaServe Systems. 
 
 
 
 
 
 
 
--------------------------------------------------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  


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.