DevTest Parsing exception for copybook protocol

Document ID : KB000077502
Last Modified Date : 12/04/2018
Show Technical Document Details
Issue:
While creating a Virtual Service from a RR pair using copybook, this Exception is thrown:
[AWT-EventQueue-0] ERROR com.itko.util.swing.UserMessage - An error occurred writing recorded transactions to the database. 
java.lang.RuntimeException: : PI must not start with xml (position:unknown @1:5 in java.io.StringReader@8217b6) 
at com.itko.lisa.vse.stateful.protocol.copybook.CopybookDataProtocol.updateRequest(CopybookDataProtocol.java:291) 
at com.itko.lisa.vse.stateful.protocol.copybook.CopybookDataProtocol.updateRequest(CopybookDataProtocol.java:158) 
Environment:
All supported DevTest versions and environments
Cause:
Incorrectly formatted data.
Every data section must have a name.



 
Resolution:
In the following data fragment, the last line does not have a data name:
03 ACE-HDR-NLINE1     PIC X(25). 
03 ACE-HDR-ACCT-TYPE  PIC X(1). 
03                    PIC X(59).

The correct format should be:
03 ACE-HDR-NLINE1     PIC X(25). 
03 ACE-HDR-ACCT-TYPE  PIC X(1). 
03 FILLER             PIC X(59).
Additional Information:
Not applicable