The value specified in the VALUE clause does not correspond to the PICTURE or USAGE clasue:
book
Article ID: KB0088854
calendar_today
Updated On:
Products
Versions
TIBCO BusinessWorks COBOL Copybook Plug-in
-
Not Applicable
-
Description
Resolution:
Abstract: The value specified in the VALUE clause does not correspond to the PICTURE or USAGE clasue:
Description: ========== When using a clause like the following, an error occurs during parsing in TIBCO BusinessWorks COBOL Copybook Plug-in 3.2.0:
07 CRM-DOB-DD PIC X(02) VALUE IS 00.
There is no error parsing in TIBCO BusinessWorks COBOL Copybook Plug-in 2.5.0.
Environment: ========== ALL
Symptoms: ========== Errors occurred during parsing:
The value specified in the VALUE clause does not correspond to the PICTURE or USAGE clasue: REQUUEST-ENVELOPE.REQUEST-BODY.CRM-MMFD-DATA.CRM-MEMBERS.CRM-DOB-DD.
Cause: ========== Incorrect use of Declaring Data in COBOL.
Resolution: ========== Change the clause to either of the following lines:
07 CRM-DOB-DD PIC X(02) VALUE IS '00'. 07 CRM-DOB-DD PIC X(02) VALUE IS ZEROS.
Issue/Introduction
The value specified in the VALUE clause does not correspond to the PICTURE or USAGE clasue: