Error Parsing Copybook

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

Error Parsing Copybook

Postby kodalivk » Tue Sep 21, 2010 1:40 am

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: 2136
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Error Parsing Copybook

Postby DataMystic Support » Mon Sep 27, 2010 12:29 am

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

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 1 guest