Bottom line - file descriptions are not created by COBOL code in OS400. You need a basic understanding of how physical and logical files are created. Just modifying the COBOL file structures will not modify the file structure of a table.
As Joel Stone said, this can be done with SQl or DDS but not with COBOL. The table structures are created outside of the high level languages in OS400 operating system.

John Arnold
301-354-2939 phone
301-354-2999 fax

Please note my new email address - jarnold@xxxxxxxx

This transmission may include confidential health information that is protected by law. This information is intended for the use of the listed recipients only. If you are not listed as a recipient, you are hereby notified that any disclosure or distribution of this information is strictly prohibited. If you are not the intended recipient of this information, please notify the sender immediately to arrange for the return or destruction of the information.

-----Original Message-----
From: COBOL400-L [mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Charmaine A. Gray
Sent: Wednesday, October 26, 2016 1:10 PM
To: 'cobol400-l@xxxxxxxxxxxx'
Subject: [COBOL400-L] PF / LF files


I just started working on an AS400 in April of this year.
I need some help in understanding how to create a new field for a LF (logical File).

I have added the new field to the copybook which holds the file layout.
I have recompiled the program.
I don't know what to do to the actual file to make it larger.

Can you help me?

Thank you,

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-2021 by 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.