CA Easytrieve message: RECEIVE FIELD LENGTH TOO SMALL FOR VALUE

book

Article ID: 130994

calendar_today

Updated On:

Products

CA PanAudit Plus CA Easytrieve Report Generator CA PAN/SQL

Issue/Introduction



Receiving the following message in the compiler listing:
EZTC0742W >>> + RECEIVE FIELD LENGTH TOO SMALL FOR VALUE 
 
The truncation of data is on purpose.  How may one get around this?
 

Environment

CA Easytrieve Report Generator, release 11.6.

Resolution

Per PTF SO04803,
This is only an informational warning, so the program will still compile successfully.

PROBLEM DESCRIPTION:
When PTF RO98222 or PTF SO01510 is installed, a warning message is displayed if a binary data type is referenced as the source or target of a numeric assignment statement and the size of the target is insufficient to receive all of the digits from the source value.
 
SYMPTOMS:
The following message appears in the compiler listing:
EZTC0742W >>> + RECEIVE FIELD LENGTH TOO SMALL FOR VALUE
 
Valid EZTC0742W warnings will still occur, even after this PTF has been applied.

 

Additional Information

If the message is displayed in programs that were written many years ago, then the message can generally be ignored.