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


  • Subject: RE: Non-Join Multi PF Logical File Format
  • From: "Bayman, Thomas C" <thomas.bayman@xxxxxxx>
  • Date: Wed, 24 May 2000 08:57:02 -0500

Have you tried a Multi-Format Logical file?  (a logical file where each PF
format has a Record Format defined in the logical)  RPG Programs can handle
this type of file but your code must explicitly reference each record
format(s) you intend to use.  This has worked for me in the past in RPG,
don't know about COBOL.  

> -----Original Message-----
> From: David Keck [SMTP:dkeck@idt.net]
> Sent: Wednesday, May 24, 2000 11:07 AM
> To:   cobol400-l@midrange.com
> Subject:      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.  For
> example ...
>  
> Physical File named "A"
>      A          R AREC               
>      A            FLD1           1A  
> 
> Physical File named "B"  (In this case the entire record format for file
> AA is identical to that of file A)
>      A          R BREC              
>      A            FLD1           1A  
> 
> Logical File named ABLF
> Non-Join Multi-PF Logical File Format (in this case the only format in the
> LF)
>      A          R AREC                      PFILE(A B)
>      A          K FLD1                                 
+---
| This is the COBOL/400 Mailing List!
| To submit a new message, send your mail to COBOL400-L@midrange.com.
| To subscribe to this list send email to COBOL400-L-SUB@midrange.com.
| To unsubscribe from this list send email to COBOL400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---END



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.