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
#2336
voconnor (User)
XAware expert
Posts: 418
User Online Now Click here to see the profile of this user
Re:In-memory processing of CopyBooks 5 Months ago Karma: 7  
Just to be sure ... I built a simple Copybook xbc without the in-memory passing of the data and it is working similarly.

Here is the simple XBC:

<FILETEST xmlns:xa="http://xaware.org/xas/ns1" xa:bizcomptype="COPYBOOK">
<xa:input />
<xa:description />
<xa:request xa:request_type="text2xml" xa:record_source="data/endWhenTrueOccurs.data" xa:format="fixed_length">
<xa:return />
</xa:request>
<xa:record_layout xa:record_start="0" xa:record_length="74">
<CONTACT xa:occurs="3">
<ID xa:start="0" xa:field_length="10" xa:pic_value="X(10)" />
<NAME xa:start="10" xa:field_length="10" xa:pic_value="X(10)" />
<STATE xa:start="20" xa:field_length="2" xa:pic_value="X(2)" />
</CONTACT>
<DATE xa:start="66" xa:field_length="8" xa:pic_value="X(8)" />
</xa:record_layout>
<xa:response>
<element>
<contact>
<id>%ID%</id>
<name>%NAME%</name>
<state>%STATE%</state>
</contact>
<date>%DATE%</date>
</element>
</xa:response>

and the results are the same. It still fails to substitute the first 2 record fields.

If, however, I manually add the xa:occurs="3" to the response element, the results are returned accurately. I manually added the xa:occurs="3" to the first example - which passes data from the input parameter value and that example works as well.

I'm not sure that users will know to manually define how many response records to return, is there some change we should make to the wizard to handle this for them?

Thanks.
 
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