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 » ASCII to EBSDIC conversion using ESQL

Post new topic  Reply to topic
 ASCII to EBSDIC conversion using ESQL « View previous topic :: View next topic » 
Author Message
rajeshraj
PostPosted: Fri Apr 21, 2017 5:40 am    Post subject: ASCII to EBSDIC conversion using ESQL Reply with quote

Newbie

Joined: 21 Apr 2017
Posts: 4

Hi,

I tried to convert ASCII message to EBCDIC as below.
Input blob message --> Covert it to charater and saved in environment --> convert to blob output using CCSID 277.

This is working fine for small messages. If I try to use more than 1 MB message nothing is propagated to the output.

Can anyone tell other way of doing the conversion of big files (without saving it in environment and without parsing it)

thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Apr 21, 2017 5:44 am    Post subject: Re: ASCII to EBSDIC conversion using ESQL Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rajeshraj wrote:
Can anyone tell other way of doing the conversion of big files (without saving it in environment and without parsing it)


Tell broker (on the FileInput node) it's reading an EBCDIC file. Tell Broker (on the FileOutput node) you want the results in ASCII.

Internally broker uses UTF-16.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rajeshraj
PostPosted: Fri Apr 21, 2017 6:15 am    Post subject: Reply with quote

Newbie

Joined: 21 Apr 2017
Posts: 4

Hi,
Sorry to mention before.

I am using toolkit Version: 8.0.0.5 where I am not able to see the encoding option in the FileOutput node.

thanks
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Apr 21, 2017 6:50 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

rajeshraj wrote:
I am using toolkit Version: 8.0.0.5 where I am not able to see the encoding option in the FileOutput node.


My bad. On output the CCISD Property controls what's used for serialization.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Apr 21, 2017 10:41 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

And remember you have at a minimum to CAST to CHAR for the conversion to happen. A BLOB gets never converted!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ASCII to EBSDIC conversion using ESQL
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.