User trying to do formatted record layout of member MEMBER01 in ''CUSTOMER.COPYLIB' and getting error.
search cancel

User trying to do formatted record layout of member MEMBER01 in ''CUSTOMER.COPYLIB' and getting error.

book

Article ID: 196942

calendar_today

Updated On:

Products

File Master Plus for IMS File Master Plus for DB2 for z/OS

Issue/Introduction

User trying to do formatted record layout of member MEMBER01 in 'CUSTOMER.COPYLIB'  and getting error.

Resolution

The error you are receiving when trying to view a layout with FileMaster is returned when the size of a GROUP from a Cobol Copybook exceeds 6 digits (ie. when the size is bigger than 999999).

FYI, this check has been added almost 3 years ago to prevent different kind of abends (Short of storage, etc) in FileMaster when using very big layouts.

Check the structure of your HGCDKSPR copybook. When compiled with the IBM compiler, the maximum size of this copybook is 1716068. This size is calculated by using the maximum value for all OCCURS DEPENDING ON clauses (ODO) present in the copybook.

The HGCDKSPR copybook contains 3 different 03 levels:
03 KSP-HEADER-CLAIM-AREA (size = 2620)
03 KSP-SVC-RECORD (size of 1 occurrence = 1702)
03 KSP-HGCDREFR-RFRL-TEMP-AREA (size = 14852)

In order to maintain the max size of this copybook below 999999, the maximum number of occurrences for the second 03 field should not exceed 577. Currently, its value is set to 998.

Modify the max OCCURS value for the 03 KSP-SVC=RECORD field from 998 to a more realistic value of 500 for example.