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 Discussion » getting AMQ8413: String Length Error

Post new topic  Reply to topic
 getting AMQ8413: String Length Error « View previous topic :: View next topic » 
Author Message
shilpa.sabade
PostPosted: Tue Aug 09, 2011 9:09 am    Post subject: getting AMQ8413: String Length Error Reply with quote

Voyager

Joined: 23 Feb 2011
Posts: 76

/amp/home/mqm # runmqsc -v<kir1.txt
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager .


1 : DEFINE CHANNEL ('CLIENT.QAP') CHLTYPE(SVRCONN) +
: TRPTYPE(TCP) +
: DESCR(' ') +
: HBINT(300) +
: MAXMSGL(4194304) +
: MCAUSER('Svc.mqQAP) +
: RCVDATA(' ') +
: RCVEXIT(' ') +
: SCYDATA(' ') +
: SCYEXIT(' ') +
: SENDDATA(' ') +
: SENDEXIT(' ') +
: SSLCAUTH(REQUIRED) +
: SSLCIPH(' ') +
: SSLPEER(' ') +
: KAINT(AUTO) +
: MONCHL(QMGR) +
: COMPMSG(NONE) +
: COMPHDR(NONE) +
: SHARECNV(10) +
: MAXINST(999999999) +
: MAXINSTC(999999999) +
: REPLACE
AMQ8413: String Length Error.
One MQSC command read.
One command has a syntax error.

i seem have some issue with MCAUSER('Svc.mqQAP) +
- getting sstring length error.

any clues?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 09, 2011 9:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

you don't have a closing quote...
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Aug 09, 2011 9:17 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Only the very obvious one that you're missing a closing quote. The handy thing is that it always shows you exactly where the issue is, you just have to see what is there and not look for what expect to see.

Your first, and only, fish.
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
shilpa.sabade
PostPosted: Tue Aug 09, 2011 9:29 am    Post subject: Reply with quote

Voyager

Joined: 23 Feb 2011
Posts: 76

Opps that quote got missed during trial ..

interesting thing is here : when i do runmqsc -v from windows box it works :
Desktop\kir.txt"
5724-H72 (C) Copyright IBM Corp. 1994, 2009. ALL RIGHTS RESERVED.
Starting MQSC for queue manager .


1 : DEFINE CHANNEL ('CLIENT.QAP27181') CHLTYPE(SVRCONN) +
: TRPTYPE(TCP) +
: DESCR(' ') +
: HBINT(300) +
: MAXMSGL(4194304) +
: MCAUSER('Svc.mqQAP0271E2') +
: RCVDATA(' ') +
: RCVEXIT(' ') +
: SCYDATA(' ') +
: SCYEXIT(' ') +
: SENDDATA(' ') +
: SENDEXIT(' ') +
: SSLCAUTH(REQUIRED) +
: SSLCIPH(' ') +
: SSLPEER(' ') +
: KAINT(AUTO) +
: MONCHL(QMGR) +
: COMPMSG(NONE) +
: COMPHDR(NONE) +
: SHARECNV(10) +
: MAXINST(999999999) +
: MAXINSTC(999999999) +
: REPLACE
One MQSC command read.
No commands have a syntax error.

when i do same on AIX its giving me string length error .

I just tried shortning the MCAUSER vlaue in AIX .


1 : DEFINE CHANNEL ('CLIENT.QAP27181') CHLTYPE(SVRCONN) +
: TRPTYPE(TCP) +
: DESCR(' ') +
: HBINT(300) +
: MAXMSGL(4194304) +
: MCAUSER('Svc.mqQAP027') +
: RCVDATA(' ') +
: RCVEXIT(' ') +
: SCYDATA(' ') +
: SCYEXIT(' ') +
: SENDDATA(' ') +
: SENDEXIT(' ') +
: SSLCAUTH(REQUIRED) +
: SSLCIPH(' ') +
: SSLPEER(' ') +
: KAINT(AUTO) +
: MONCHL(QMGR) +
: COMPMSG(NONE) +
: COMPHDR(NONE) +
: SHARECNV(10) +
: MAXINST(999999999) +
: MAXINSTC(999999999) +
: REPLACE
One MQSC command read.
No commands have a syntax error.
/amp/home/mqm #

looks like AIX can take max of 12 chars.

Any thoughts here.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 09, 2011 9:33 am    Post subject: Reply with quote

Grand High Poobah

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

shilpa.sabade wrote:
looks like AIX can take max of 12 chars.


Yes, it looks a lot like that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » getting AMQ8413: String Length Error
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.