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



Nope, keyfield info is only in the "new" QDBRTVFD API not QUSLFLD, and the
fields are returned in order.

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of mwalter@xxxxxxxxxxxxxxx
Sent: Wednesday, July 14, 2004 9:00 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: DSPFD to outfile has a Key Field Number field. QDBRTVFD api
have similar ?


I think that information is in  QUSLFLD in the FLDL0010 format.

Thanks,

Mark

Mark D. Walter
Senior Programmer/Analyst
CCX, Inc.
mwalter@xxxxxxxxxx
http://www.ccxinc.com


 

                      "Rusling, John B.

                      (Alliance)"               To:
<rpg400-l@xxxxxxxxxxxx>

                      <jbrusling@allianc        cc:

                      edev.com>                 Subject:  RE: DSPFD to
outfile has a Key Field Number field. QDBRTVFD api   have        
                      Sent by:                   similar ?

                      rpg400-l-bounces@m

                      idrange.com

 

 

                      07/14/2004 09:49

                      AM

                      Please respond to

                      RPG programming on

                      the AS400 /

                      iSeries

 

 





I've used DSPFD to an outfile in the past and it contains a field
indicating the order of the keys for a keyed file (Key Field Number).

I've setup the QDBRTVFD api to retrieve key field information,
using the FILD0300 Format.

I've perused thru the QDBRTVFD api (v5.2) and haven't been able to
figure where the order of the key fields comes into play/is returned.

I'm assuming one of 3 things...

a) I can't read what may be right under my nose

-OR-

b) the api returns the key fields in the proper key order.

-OR-

c) none of the above


If anyone can answer which of this (if any) is correct I would
certainly appreciate that.
(I don't care if it's answer a)  <g>

thanks for any help

John B.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
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@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
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 ...

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.