Mainframe CICS Copybook with OCCURS statement- Error creating Virtual Service
search cancel

Mainframe CICS Copybook with OCCURS statement- Error creating Virtual Service

book

Article ID: 240137

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

We are having problems trying to build a CICS mainframe virtual service.
We identified that the SV is not performing the fitting of the Response in the defined Layout.
We are sending a file detailing the step-by-step verification of the response with the Layout, detecting that the response data fits the Layout.

The CopyBook has OCCURS statement

 

 05  LINE-ITEM-COUNT                  PIC 99.
   05  LINE-ITEMS OCCURS 0 TO 25 TIMES
         DEPENDING ON LINE-ITEM-COUNT.
       10  QUANTITY                     PIC 9999.
       10  DESCRIPTION                  PIC X(30).
       10  UNIT-PRICE                   PIC S9(5)V99.

 

Environment

Release : 10.6

Component : DevTest Workstation

Resolution

Please open a ticket with support and reference  DE530808

 

 

 

Additional Information

We noticed that the issue is resolved with the patch and with the sample copybook we provided on OCCURS 

Here are the steps we followed. 

1. Exit workstation

2. Place the patch file "patch_DE530808_10.6.0_LTD.jar" at LISA_HOME\lib\patches folder

3. Add the following entry to logging.properties

       log4j.logger.com.itko.util.copybook.PayloadHelper=DEBUG

4. Start Workstation

5. Repeat the failing use case and let me know if the patch solves it