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

Getting some junk valus at the end of the each message in MQ


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

Active User


Joined: 27 Feb 2008
Posts: 110
Location: india

PostPosted: Fri Apr 20, 2012 6:33 pm
Reply with quote

We have 2 systems.. A and B..
System A is getting messages from system B, and message is ok.. While replying back to system B, there is some junk values at end of each message.
Is there any reason why the junks values coming from where?
If anyone put some inputs could be helpful to me...
Thanks

Currently is facing issue in getting the reply from CDS.
They are getting some junk values at end of each message.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Apr 20, 2012 6:38 pm
Reply with quote

Bad programming ?
Noise on the line ?
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Apr 20, 2012 7:48 pm
Reply with quote

You haven't given us any idea of what sort of junk it is? Can you do a hex display? Is there some pattern to the values? Always the same, always different, what?

Remember, some junk can turn out to be quite valuable. Some "junk" actually turns out to be Antique, or can be sold for good money for scrap. Fingers crossed on that.
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


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

PostPosted: Fri Apr 20, 2012 8:06 pm
Reply with quote

Were the variables which puts while reply to queue initialised??
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Apr 20, 2012 8:06 pm
Reply with quote

are the 'junk values' beyond the message-length?
Back to top
View user's profile Send private message
maxsubrat

Active User


Joined: 27 Feb 2008
Posts: 110
Location: india

PostPosted: Fri Apr 27, 2012 1:19 pm
Reply with quote

Yes, the junk characters coming beyond the message length.
The junk characters are :
!^@

Sorry for late reply..

Thanks
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Apr 27, 2012 3:42 pm
Reply with quote

maxsubrat wrote:
Yes, the junk characters coming beyond the message length.
The junk characters are :
!^@

Sorry for late reply..

Thanks


then why do you care?
Back to top
View user's profile Send private message
maxsubrat

Active User


Joined: 27 Feb 2008
Posts: 110
Location: india

PostPosted: Fri Apr 27, 2012 4:33 pm
Reply with quote

We want to know the reason of the junk values. As it is in production, so want to fix it.

Thanks
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Apr 27, 2012 4:45 pm
Reply with quote

there is nothing to fix.

beyond the message length
means exactly that,
it is beyond your control.

you are trying to address an area, that you have no business addressing.

now, if these junk values are creating a problem,
the solution is better MQS programmers,
so that they can expalin to you,
why some idiot is attempting to address an area,
beyond what IBM has committed to maintain.

IBM only guarantees the integrity of the data of the message
(defined as message length)
not data beyond the message contained in a buffer or workarea.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Apr 27, 2012 5:08 pm
Reply with quote

or,
attacking this problem from the correct direction:

educate the ignoramus who thinks that this is a problem.
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 SFTP Issue - destination file record ... All Other Mainframe Topics 2
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts IMS Message : DFS3577A IMS DB/DC 4
No new posts dsnrexx fails without error message CLIST & REXX 9
No new posts Print out all lines with 'IBM' compil... CLIST & REXX 8
Search our Forums:

Back to Top