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 » General IBM MQ Support » EBCDIC file from Mainfram to AIX (ascii) through MQ

Post new topic  Reply to topic Goto page Previous  1, 2, 3
 EBCDIC file from Mainfram to AIX (ascii) through MQ « View previous topic :: View next topic » 
Author Message
rekarm01
PostPosted: Fri Jun 24, 2011 2:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

bruce2359 wrote:
Set vi into edit hex mode, something like this, IMS:

[esc] :%!xxd

'xxd' is part of 'vim', not 'vi', and more likely to be available on Linux than AIX.

'xxd' is an external program; it can run directly from the command line, without an editor.
Back to top
View user's profile Send private message
rekarm01
PostPosted: Sun Jun 26, 2011 2:52 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 1415

zpat wrote:
MO71 ... can do many useful things very easily.

MO71 is a perfectly fine tool, but so is amqsbcg0, xxd, od, etc. Each has their own strengths and weaknesses. Sometimes, command line tools are preferable. Why relegate them to the "stone age"?

zpat wrote:
I guarentee that a little time spent getting it to work and getting used to it will be time well spent. However ...

However, if the immediate goal is to resolve some other issue, and the OP has already complained that time spent learning a new tool is getting in the way of that, then maybe it's a good idea to set that aside for a few days, and focus on the problem at hand.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Jun 26, 2011 4:19 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9475
Location: US: west coast, almost. Otherwise, enroute.

rekarm01 wrote:
However, if the immediate goal is to resolve some other issue, and the OP has already complained that time spent learning a new tool is getting in the way of that, then maybe it's a good idea to set that aside for a few days, and focus on the problem at hand.

The problem at hand is that the OP doesn't have one of the basic skills required for problem-determination, namely: the ability to examine the application data. And since not all characters are non-display/non-printable, a hex editing tool is required.

WMQ comes with several of these already discussed here - WMQ Explorer, amqsbcg(c). Many similar tools are free-ware downloadable from IBM, and elsewhere on Mr. Internet.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
zpat
PostPosted: Sun Jun 26, 2011 10:29 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5867
Location: UK

I actually like these problems as an exercise in problem solving. Had a tough one recently - only resolved when IBM added a code page to the MQ JVM for us. However if you can't even get MO71 to work... why not call IBM to help you on the conversion issue?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Jun 26, 2011 11:29 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9475
Location: US: west coast, almost. Otherwise, enroute.

Yes, one of the three tools in our sysadmin toolkit: 1) ask someone who knows more than you; 2) look it up; 3) contact the vendor.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3 Page 3 of 3

MQSeries.net Forum Index » General IBM MQ Support » EBCDIC file from Mainfram to AIX (ascii) through MQ
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.