Perfect! That did the trick and solves my issue. I wasn't even using the offending field.



On 5/19/2023 8:35 AM, Michael Quigley 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<>

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

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.