Page 1 of 1

Error Parsing Copybook

Posted: Tue Sep 21, 2010 1:40 am
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!

Re: Error Parsing Copybook

Posted: Mon Sep 27, 2010 12:29 am
by DataMystic Support
Yes - the 00002760 etc at the end of each line is guff and is not needed.