ARCHIVE ELEMENT - GETS MESSAGE C1Y0008E - LRECL IS NOT LARGE ENOUGH
search cancel

ARCHIVE ELEMENT - GETS MESSAGE C1Y0008E - LRECL IS NOT LARGE ENOUGH

book

Article ID: 21635

calendar_today

Updated On:

Products

PanAudit Plus Easytrieve Report Generator PAN/SQL Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench CA 2E

Issue/Introduction

QUESTION:

When archiving elements in V15 or newer the following error message may be issued:

C1Y0008E THE ARCHIVE DATASET LRECL IS NOT LARGE ENOUGH. IT MUST BE AT LEAST 2940

ANSWER:

There is a new check to ensure that the LRECL of the Archive data set is large enough to avoid an abend during the Archive action. If the LRECL is not large enough the C1Y0008E message is issued.

This feature was available as a fix for earlier releases of Endevor and has been sourced in Endevor version 15.0.

Here are some explanations about this feature:

The LRECL for an ARCHIVE sequential output dataset must conform to the requirements described in the SCL reference manual section The Archive Statement.

"The minimum LRECL should be the greater of 3 times the maximum MCF-record length or the TYPE-LENGTH plus (+) 14". As reminder, the MCF-record length is 980.

Prior to the application of this correction it is possible for an ARCHIVE action to abort when it tries to write a long record to the sequential output file, but the recovery may be difficult if a delete behind is in effect and the abort occurs on the second or subsequent element. Recovery could also be difficult if ARCHIVE output files are stacked and an abort occurs. After the application of this correction Endevor will verify that the LRECL for an ARCHIVE sequential output dataset conforms to the requirements prior to executing an action. This eliminates the abort and potential recovery difficulties.

After the application of this correction it is possible that an ARCHIVE action, which used to work successfully, terminates with an error message C1Y0008E. It was successful previously because, even though the LRECL did not conform to the requirements, none of the output records were long enough to cause the abort.

The user should check the LRECL of the ARCHIVE output dataset prior to executing the action. If the LRECL does not conform to the requirements it must be modified otherwise the following message will be given.

C1Y0008E THE ARCHIVE DATASET LRECL IS NOT LARGE ENOUGH.

This explains why before the C1Y0008E fix an Archive would run even though the LRECL was not large enough according to the algorithm.

Environment

Release:
Component: C21E