|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Sample Data for a COBOL copybook |
« View previous topic :: View next topic » |
Author |
Message
|
basha |
Posted: Fri May 14, 2004 2:48 pm Post subject: Sample Data for a COBOL copybook |
|
|
 Apprentice
Joined: 25 Apr 2004 Posts: 31
|
Hi all,
My copy book looks like:
Code: |
01 XYZ.
03 REPLY-DATA.
05 AB-CDE-FGH.
10 XXXXX PIC X(5).
10 YYYYYY PIC X(4).
10 AAAAA PIC X(8).
10 GGGGG PIC X(08).
10 HHHHHH PIC S9(13)V99 COMP-3.
|
I have to convert an incoming flat file (that represents the above copy book) into a XML message. I wrote some ESQL code. But I dont know how to create a sample data to test it. The first 4 fields are fine, but what about the 5'th filed which is a Packed decimal number. What kind of sample data can I provide, so that the MRM understands it as a Packed decimal number.
Can some one provide me any sample data for the above.
Thanks,
Basha. |
|
Back to top |
|
 |
Lisa |
Posted: Fri May 14, 2004 7:19 pm Post subject: Copybok |
|
|
Master
Joined: 07 Jun 2002 Posts: 287 Location: NJ
|
|
Back to top |
|
 |
EddieA |
Posted: Sun May 16, 2004 12:59 pm Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
I always use IH02. But loking at the Support Pac page, it now says it's withdrawn. (Why ?? It's only a text to Message Utility). I'd still take a look though, as it's real simple to use. As long as you know what a PD number really looks like in hex.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
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
|
|
|
|