|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Packed fields in AS/400 - CWF or TDS |
« View previous topic :: View next topic » |
Author |
Message
|
Boolean |
Posted: Mon Nov 03, 2003 8:24 am Post subject: Packed fields in AS/400 - CWF or TDS |
|
|
Acolyte
Joined: 05 Jun 2003 Posts: 56 Location: Sweden
|
I'm going to map messages from an AS/400 (EBCDIC) to Windows.
The AS computer uses packed fields and I have read that the CWF format can deal with this. On the other hand people tell me that CWF is for COBOL and C struct mappings and that I should use a TDS format.
Does anyone have any experience on this?
/Anders |
|
Back to top |
|
 |
EgilsJ.Rubenis |
Posted: Mon Nov 03, 2003 11:24 pm Post subject: |
|
|
Acolyte
Joined: 18 Nov 2002 Posts: 63 Location: Germany, Alfeld
|
Hi Anders,
I'm dealing with Data coming from SunSolaris as XML and converting
to OS390. On the Output I'm Using a CWF Format with packed decimals signed fields. It works fine so far. We had a problem earlier that was fixed by IBM. I'm not sure anymore what it was, but i think it was in decimal packed fields mapping the last byte failed.
In your case you could define a CWF Message for your incoming message from AS400 and map it to whatever you need. For creating
a CWF mesage you can import your cobol copybook form AS400.
The import generates the structure. Before importing I modified my copybooks, inserting initial values (value space, value zero). Saves
a lot of time because the import generates the elemnets for initial value.
Otherwise it takes some time to do it manually.
Cheers Egils |
|
Back to top |
|
 |
Boolean |
Posted: Tue Nov 04, 2003 1:13 am Post subject: |
|
|
Acolyte
Joined: 05 Jun 2003 Posts: 56 Location: Sweden
|
Thank you very much for your reply Egils!
I will start to work with the CWF format.
/Anders |
|
Back to top |
|
 |
Eyal_Pu |
Posted: Wed Nov 05, 2003 4:04 am Post subject: Egils, about the fix you got from IBM |
|
|
Newbie
Joined: 05 Nov 2003 Posts: 4
|
Do you remember how it fixed your problem?
We have just encountered that same problem. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|