Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

data getting truncated

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
lrawat

New User


Joined: 02 Feb 2008
Posts: 19
Location: usa

PostPosted: Mon Aug 04, 2008 9:36 pm    Post subject: data getting truncated
Reply with quote

hi friends..

i have an windows based application integrated with mainframe cics.
windows application sends data to mainframe for processing.
after processing mainframe sends back acknowledgement at line level for data processed.
problem is that the last line in acknowledgement gets truncated.

any idea what could be causing this problem?

appreciate help!!
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Aug 04, 2008 9:41 pm    Post subject:
Reply with quote

1. are you using mqs? if so, are you getting a truncation message?
if you are getting a truncation msg (from mqs) then your recieve is bad.

if no truncation msg, the sender has a problem. queue length as defined to qmanager is also a place to look


2. if you are not using mqs, how are you communicating?
Back to top
View user's profile Send private message
lrawat

New User


Joined: 02 Feb 2008
Posts: 19
Location: usa

PostPosted: Mon Aug 04, 2008 9:46 pm    Post subject:
Reply with quote

that's right, I am using MQ.
Data not getting truncated in receiving (by mainframe) but in sending (by mainframe).
example is like below...see the last line is truncated for "FULLY ~" this data. It is always happening with just the last line in reply message, that's what makes me to guess it is not with MQ but something else.

R000~RECEIPT~0000007619~Y~
R001~135~531034~000724~080804104612~TRANSACTION PROCESSED SUCCESSFULLY ~
R010~002~TRANSACTION PROCESSED SUCCESS
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Aug 05, 2008 1:12 am    Post subject:
Reply with quote

The Queue where the mainframe writes the acknowledgement will have a MAX MSG LENGTH attribute. It may be too small and your msg gets truncated when written.

Or your program to retrieve the msg may have too small a workarea and the msg gets truncated when you GET it from the queue.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us