Posted: Wed Mar 17, 2021 2:57 am Post subject: Parsing negatively signed zero decimal returned by CICS
Newbie
Joined: 12 Jan 2021 Posts: 3
Hi All,
I am trying to parse a field returned by a CICS program which is
defined as below in DFDL
Type - PIC9-Comp3_decimal
Packed sign Code in use - CDFC
Definition of Copybook - PIC S9(13)V99 COMP-3 VALUE 0
Problem is that the field is not getting parsed for -ve zero.
When CICS program responds with values like 0.00, -111.00, +32.00 etc it works fine no parsing issue.
But when CICS response Value is -0.00 (-ve zero) it does not gets parsed and ACE errors out - "Invalid sign for binary packed number for element CTDP3031".
I have already tried all possible binaryPackedSignCodes values as provided by ACE.
please advise how to parse -ve zero value. Would to mention again here that non-zero negative number gets parsed fine.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum