IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Doubts in MQ data Converstions


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Thamilselvi

New User


Joined: 22 Jun 2012
Posts: 57
Location: Chennai

PostPosted: Mon Jul 02, 2012 3:48 pm
Reply with quote

I am doing PoC on MQ. I have few doubts on Data conversion in MQ. I have gone through the manuals related to Websphere MQ application reference & guide. But I am not able to understand the below points.

1) in which scenario , we have to go for data conversion.

2) for which format of application data, we need to do data conversion exit program.

3) is the data conversion exit program is mandatory for mainframe cobol data items ?

It will be very greatfull, if you provide me the answers for the above doubts.

Note: I have put the message(COBOL DATA ITEM) in MQ and java is able to retrieve the message as it is. But, when i trying to get the message from java, i am getting as junk values.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jul 03, 2012 12:20 am
Reply with quote

Data conversion what do you mean by that ?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jul 03, 2012 12:42 am
Reply with quote

There's no such thing as "junk values" in data. There may be values you don't understand, and there may be values the receiving computer doesn't understand, and there may be values that the transmitting computer doesn't understand -- but those values make sense to some computer along the way, whether or not they make sense to you. Post (useing the Code button to preserve spacing) some hexadecimal displays of what you consider "junk values" and we'll see what we can make of them.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jul 03, 2012 12:47 am
Reply with quote

show us the junk values in hex 100 bytes or so

it could be uTF8 or 16 or 32 since it is displayed by the pc ops-sys ok.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts JCL EXEC PARM data in C Java & MQSeries 2
Search our Forums:

Back to Top