Author |
Message
|
shilpa.sabade |
Posted: Tue Aug 09, 2011 9:09 am Post subject: getting AMQ8413: String Length Error |
|
|
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 |
|
 |
mqjeff |
Posted: Tue Aug 09, 2011 9:16 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
you don't have a closing quote... |
|
Back to top |
|
 |
exerk |
Posted: Tue Aug 09, 2011 9:17 am Post subject: |
|
|
 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 |
|
 |
shilpa.sabade |
Posted: Tue Aug 09, 2011 9:29 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Tue Aug 09, 2011 9:33 am Post subject: |
|
|
 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 |
|
 |
|