Error Parsing Copybook

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
kodalivk
Posts: 1
Joined: Tue Sep 21, 2010 1:36 am

Error Parsing Copybook

Post by kodalivk »

When I am trying to parse a Copybook, I am getting the following error message.
Error Parsing Copybook
Line: 13 Expecting a literal value (text or digits, found SPACES
Your copybook might need a minor tweak - please contact DataMystic.
The copybook structure is as follows:

05 CD-KEY. 00002760
10 CDUSER. 00002770
15 CDUSERNO PIC X(02) VALUE SPACES. 00002780
15 CDCONO PIC X(02) VALUE SPACES. 00002800
10 CDAPACT. 00002820
15 CDAPPL PIC X(01) VALUE '0'. 00002840
15 CDBFIL PIC X(01) VALUE LOW-VALUES. 00002860
15 CDACCT PIC 9(11) COMP-3 VALUE 0. 00002880

Please help!
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Error Parsing Copybook

Post by DataMystic Support »

Yes - the 00002760 etc at the end of each line is guff and is not needed.
Post Reply