• Subject: R: Non-Join multi-PF logical file format
  • From: Finucci Domenico <finucci@xxxxxxxxxxxx>
  • Date: Wed, 24 May 2000 15:09:47 +0200

yes, it does.
Let's take an example and suppose we have the following LF
R    RFILE1    PFILE(PF01)
A    K    Field01
A    K    Field02
R    RFILE2    PFILE(PF02)
A    K    Field01
A    K    Field02
R    RFILE3    PFILE(PF03)
A    K    Field01
A    K    Field02
(the three PF share the same key structure ).
 
Your Cobol program is able to read such an LF with SEQUENTIAL, DYNAMIC and RANDOM Access as with a normal one. Remember that COBOL/400 supplies the register variable DB-FORMAT-NAME which hosts the name of the last format read.
 
Let me know if it's clear enough.
Yours sincerely.
 

Domenico Finucci

-----Messaggio originale-----
Da: David Keck [mailto:dkeck@idt.net]
Inviato: mercoledý 24 maggio 2000 17.47
A: cobol400-l@midrange.com
Oggetto: Non-Join multi-PF logical file format

Can a COBOL program work with a non-join logical file record format which references more than one PF (more than one PF in the DDS PFILE entry) ?  I know RPG programs can NOT compile if they reference such a file.  Thanks.   

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 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.