DevTest Parsing exception for copybook protocol

book

Article ID: 77502

calendar_today

Updated On:

Products

CA Application Test Service Virtualization CA Continuous Application Insight (PathFinder)

Issue/Introduction

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[email protected]
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) 

Cause

Incorrectly formatted data.
Every data section must have a name.


 

Environment

All supported DevTest versions and environments

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