Skip to content

XAware Open Source Data Integration

You are here: Home arrow Forums
XAware Community Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:In-memory processing of CopyBooks (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:In-memory processing of CopyBooks
#2304
ab5trakkt (User)
XAware user
Posts: 13
User Offline Click here to see the profile of this user
Re:In-memory processing of CopyBooks 5 Months ago Karma: 2  
Hi Paul,

I converted 32 CopyBook BizComps to MF, and they seem to be working okay as far as I know. So from a technical side, getting CopyBooks to work in-memory isn't critical as long as MF is an adequate substitute.

I talked to Rick this morning, and he had two primary concerns:

  • Was the in-memory capability not implemented for CopyBook BizComps because MF BizComps should be used for this purpose? or was it an oversight?

  • Will the XAware team support MF BizComps being used as substitutes for the in-memory CopyBook BizComps we were using?

Thanks

Update #1: I've found that values are not being formatted properly with the MF BizComps. For example:

<Amt xa:field_length="12" xa:pic_value="S9(09)V99" xa:start="149" />

gives the following results:

XA 4.3.1: <Amt>604.00</Amt>
XA 5.1.0: <Amt>+00000060400</Amt>

My logs show many warnings similar to the following:

FINE PictureClauseUtility::formatCobolNumber Request type is text to XML
FINE PictureClauseUtility::convertToInteger Request type is text to XML
WARNING Cannot convert this non-numeric value [+00000060400]

Update #2: Negative values (e.g., -00000060400) are being formatted correctly. Removing the + sign results in correct formatting for positive values. For the time being, I'm replacing the + signs with blank spaces using a Functoid; however shouldn't there be native support for +?

The next problem I'm having is that the engine is treating all fields with the xa:pic_value attribute as integers. For example, an X(04) field containing "0040" gets converted and truncated to "40". Is there a way to treat these values as strings without removing xa:pic_value?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
In-memory processing of CopyBooks
ab5trakkt 2008/08/05 11:58
    thread link
thread linkthread link Re:In-memory processing of CopyBooks
prichards 2008/08/05 14:51
    thread link
thread linkthread link Re:In-memory processing of CopyBooks
ab5trakkt 2008/08/06 06:57
    thread link
thread linkthread linkthread link Re:In-memory processing of CopyBooks
kvandersluis 2008/08/06 17:40
    thread link
thread linkthread link Re:In-memory processing of CopyBooks
prichards 2008/08/07 14:52
    thread link
thread linkthread linkthread link Re:In-memory processing of CopyBooks
kvandersluis 2008/08/07 21:44
    thread link
thread linkthread linkthread linkthread link Re:In-memory processing of CopyBooks
kvandersluis 2008/08/08 09:10
    thread link
thread linkthread link Re:In-memory processing of CopyBooks
ab5trakkt 2008/08/08 09:37
    thread link
thread linkthread linkthread link Re:In-memory processing of CopyBooks
kvandersluis 2008/08/12 09:00
    thread link
thread linkthread linkthread linkthread link Re:In-memory processing of CopyBooks
ab5trakkt 2008/08/12 14:06
    thread link
thread linkthread linkthread linkthread linkthread link Re:In-memory processing of CopyBooks
kvandersluis 2008/08/12 16:08
    thread link
thread linkthread link Re:In-memory processing of CopyBooks
voconnor 2008/08/08 11:20
    thread link
thread linkthread linkthread link Re:In-memory processing of CopyBooks
kvandersluis 2008/08/12 08:28
    thread link
thread linkthread link Re:In-memory processing of CopyBooks
voconnor 2008/08/08 11:34
    thread link
thread linkthread linkthread link Re:In-memory processing of CopyBooks
voconnor 2008/08/08 13:32
    thread link
thread linkthread link Re:In-memory processing of CopyBooks
voconnor 2008/08/12 08:57
    thread link
thread linkthread linkthread link Re:In-memory processing of CopyBooks
kvandersluis 2008/08/12 09:07
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Community Login

Polls

What best describes your current or next project that will include data services?
 

Visit XAware.com