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



Typically, you add the fields to the physical file, not the logical.

Or are you referring to a logical file that has specific fields in
the DDS...if so, then you'll need to recreate the logical file (LF).

You should be using COPY DDS statements so that they will pick up
the new layout automatically when you compile your program.

There could be other scenarios than what I listed :)

You may need to provide more information and maybe some snippets
of what your trying to do.

Terry


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

Hello,

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,
Charmaine
--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list To post a message email: COBOL400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/cobol400-l.


Confidentiality Notice: The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.


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.