You need to look at COPY DDR or COPY DDSR - they are designed for this exact purpose.

Jon P.

On May 18, 2023, at 11:20 AM, Rich Loeber <rich@xxxxxxxxx> wrote:

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
To subscribe, unsubscribe, or change list options,
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

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