Jon,
I saw it but couldn't respond until this morning. Didn't mean to diss you.
Rich
________________________________
On 5/19/2023 9:42 AM, Jon Paris wrote:
Interesting - from the fact that you responded to Michael it looks like my post for rthe same answer didn't even get through...
Jon P.
On May 19, 2023, at 8:35 AM, Michael Quigley <MichaelQuigley@xxxxxxxxxx><mailto:MichaelQuigley@xxxxxxxxxx> wrote:
Instead of using COPY DDS-...... use COPY DDR. The compiler will replace the # with an 'N' (and $ with D, etc.)
Michael Quigley
Computer Services
The Way international
www.TheWay.org<
http://www.TheWay.org>
----------------------------------------------------------------------
message: 1
date: Thu, 18 May 2023 15:20:51 +0000
from: Rich Loeber <rich@xxxxxxxxx><mailto:rich@xxxxxxxxx>
subject: [COBOL400-L] COPY REPLACING Issue
I am trying to work with an older DDS database and a field in the file has a #
character in the field name. The COBOL compiler doesn't like that much. I've
been trying to use the COPY REPLACING option, but every time I set up the
"from" field name, it chokes because of the # character. Anyone have an
example of how to get this to work?
Rich Loeber
Kisco Systems LLC
--
This is the COBOL Programming on the IBM i (AS/400 and iSeries) (COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx<mailto:COBOL400-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx<mailto:COBOL400-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/cobol400-l.
As an Amazon Associate we earn from qualifying purchases.