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



-----Original Message-----
From: Oscar Barber <barberao@yahoo.es>
To: RPG400-L@midrange.com <RPG400-L@midrange.com>
Date: Monday, October 29, 2001 8:39 AM
Subject: Key in a Join File


>I have done a join file and I need to order it by field PSDODT. Can anybody
tell me how to do it?

put in a K spec


>This is the DDS of my join file:
>
>A                                      JDFTVAL
>A          R RJVAT               JFILE(SROVAT SRODTA)
>A          J                           JOIN(SROVAT SRODTA)
>A                                      JFLD(PSREFX DTREFX)
>A* SROVAT FIELDS
>A            PSDODT    R
>A            PSSTAT    R
>A*SRODTA FIELDS
>A            DTREFX    R
>A            DTCUNO   R


A    K psdodt

===========================================================
R. Bruce Hoffman, Jr.
 -- IBM Certified Specialist - AS/400 Administrator
 -- IBM Certified Specialist - RPG IV Developer

"America is the land that fought for freedom and then
  began passing laws to get rid of it."

     - Alfred E. Neuman





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.