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



Cmon Jon - COBOL/400 is a very modern language! It could always create files on the fly - (using QCMDEXE haha :)

In fact at our company, COBOL/400 came in a close second to choosing SAP as our future platform.

Well, maybe it wasn’t all that close (but it would have been a lot cheaper :)






-----Original Message-----
From: COBOL400-L [mailto:cobol400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Wednesday, October 26, 2016 3:42 PM
To: Cobol400-L@Midrange. Com <cobol400-l@xxxxxxxxxxxx>
Subject: Re: [COBOL400-L] PF / LF files

"The table structures are created outside of the high level languages in OS400 operating system.”

Just for technical correctness - COBOL on IBM i _can_ create files. It is a capability that was added some years ago to get round some ANSI compliance issues.

Not that you should use it of course but … <grin>


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Oct 26, 2016, at 1:50 PM, John Arnold (MFS) <jarnold@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

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
jarnold@xxxxxxxx
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

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.

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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.