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



You can easely define a logical over two PF's when they have the same format.
  We use that regularly to indeed seperate active data from history whilst we 
need to be able to access all data using one single function.
   
  You can define is like:
   A          R PTTR                      PFILE(SPRPTT00P SPRPTH00P)
   
  In use there is no difference between a normal logical.
   
  Kind regards,
  Eduard Sluis.

steema@xxxxxxxxxxxxx wrote:
  HI I have to use a logical that is composed of 2 files (PF), let us call
it Logfile. The names of the fields that are designated as Keys, are the
same. I am not sure as to process this in RPG. Do I use the READ LOGFILE
method, am I going to get all records. Is there a better way to obtain the
data, perhaps via SQL?

I will need to allow the users to either Change some of the fields in this
file, or to Delete a record ( but no add).

Thanks,
Steve

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.