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 » Importing cobol copy books

Post new topic  Reply to topic
 Importing cobol copy books « View previous topic :: View next topic » 
Author Message
vishal
PostPosted: Fri Mar 19, 2004 4:10 pm    Post subject: Importing cobol copy books Reply with quote

Novice

Joined: 01 Feb 2004
Posts: 13

I was trying to Import the cobol copy book layout to message set...But couldn't get all the fields in the cobol copy book.I am using WMQI v 2.1.

I checked it couple of times if the allignmnet of the colums ..Evrything looked perfect and similar to the previous cobol copy books, which were imported successfully...

Any suggestions or help would be appreciated..

Thanks in advance
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Mar 19, 2004 5:29 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Goto your <wmqi_install>\log directory on the config mgr server. There should be a report/log file generated for your import, which will be named after your copybook file name. Look for any errors into that file.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
waugh
PostPosted: Mon Mar 22, 2004 6:19 pm    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

check the spaces and alignment, like compound element should have 9 spaces and 01 as code, child elements should have 03 as code and 11 spaces.. check the log for errors after import is done...

Hope that helps

Waugh
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Mar 22, 2004 11:45 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

For a COBOL copybook, you can have only one compound element at 01 level. All child elements should have higher level number than it's parent element. I don't think your elements needs to be aligned, i.e. your elements should have exactly 11 spaces and so on.
Make sure you followed "COBOL standards" when creating this copybook.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
vishal
PostPosted: Wed Mar 24, 2004 5:11 pm    Post subject: Reply with quote

Novice

Joined: 01 Feb 2004
Posts: 13

Thanks,

That really worked ....

I have a task to convert XML message to MRM. I am using RFH UTIL for PUT and GET messages.The message has been successfully processed and got commuted to the Output Queue. Here is the problem..

In the RFH util in the data tab I checked the option cobol and showed the path for the cobolcopy book file. But to my surprise I got just the Copybook displayed with a message that says,

Cobol copy book size is zero and the message data length doesn't match the cobol copybook.


Am I missing something here.I am a novice to RFHUTIL...My assumption is that the Copybook should be displayed with the values assigned to each field.When I checked the message in character..I can see the assigned values...Can any one advice on this..Do u guys think I need to take care of any CCSID in the coding or in the options of setting the CWF.

THANKS IN ADVANCE...
Back to top
View user's profile Send private message
waugh
PostPosted: Thu Mar 25, 2004 5:46 am    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

Vishal,

you will only see fixed length string in your output queue, so you would see only data with padded characters. until you are getting message on output queue thats fine. You can forget about RFHUtil.

waugh
Back to top
View user's profile Send private message
waugh
PostPosted: Thu Mar 25, 2004 8:10 am    Post subject: Reply with quote

Master

Joined: 19 Feb 2004
Posts: 225

vishal,

ignore my last message. I got ur question wrong.

how can you tell that your message transformed correctly?
can you see it in fixed length format in MQ Explorer?
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 » Importing cobol copy books
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.