ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Sample Data for a COBOL copybook

Post new topic  Reply to topic
 Sample Data for a COBOL copybook « View previous topic :: View next topic » 
Author Message
basha
PostPosted: Fri May 14, 2004 2:48 pm    Post subject: Sample Data for a COBOL copybook Reply with quote

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
View user's profile Send private message
Lisa
PostPosted: Fri May 14, 2004 7:19 pm    Post subject: Copybok Reply with quote

Master

Joined: 07 Jun 2002
Posts: 287
Location: NJ

Hi,
Take a look at supportpac IA7C. This application will read your copybook format and create test cases based on the format.

Link to supportpac website:
http://www-3.ibm.com/software/ts/mqseries/txppacs/

Hope this helps,
Lisa
Back to top
View user's profile Send private message Send e-mail
EddieA
PostPosted: Sun May 16, 2004 12:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Sample Data for a COBOL copybook
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.