| Author | Message | 
		
		  | ajay | 
			  
				|  Posted: Fri Aug 31, 2001 3:21 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 29 Aug 2001Posts: 7
 
 
 | 
			  
				| Hi, I am working on MqSeries and Mqworkflow. I had installed Mqseries V 5.2 While configuring MQworkflow I am getting an error, the error is related to runmqsc command.
 
 The exact error message is :
 FMC33063I Return code from runmqsc CMBWFQM < "d:MQSERI~2qmgrscmbwfqmmqsfmczcltc.mqs" >> "d:mqseries  workflowcfgsfmclogcmbwfqm.log" is: 10
 
 I looked at the log file(cmbwfqm.log) it is giveing message :
 AMQ8405: Syntax error detected at or near end of command segment
 runmqsc command is taking the input from
 fmczcltc.mqs and there is some syntax error in that file.
 Did someone face this type of problem earlier?
 
 
 _________________
 Regards,
 Ajay
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | EddieA | 
			  
				|  Posted: Fri Aug 31, 2001 11:33 am    Post subject: |   |  | 
		
		  |  Jedi
 
 
 Joined: 28 Jun 2001Posts: 2453
 Location: Los Angeles
 
 | 
			  
				| Ajay, 
 How big is the input file.  If it's not too big, post it here.  If it is big, then do you have somewhere you can upload it and post the link here.
 
 Cheers.
 
 _________________
 Eddie Atherton
 IBM Certified Solution Developer - WebSphere Message Broker V6.1
 IBM Certified Solution Developer - WebSphere Message Broker V7.0
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | ajay | 
			  
				|  Posted: Tue Sep 04, 2001 5:59 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 29 Aug 2001Posts: 7
 
 
 | 
			  
				| Eddie, I have got following messages:
 
 1 : DEFINE CHANNEL('CMBWFQM.CL.TCP')                                 +
 :        CHLTYPE(SVRCONN)                                                 +
 :        TRPTYPE(TCP)                                                     +
 :        DESCR('Bi-directional channel to/from CMBWFQM TCPIP')     +
 :        MAXMSGL(9999999)                                                 +
 :        MCAUSER('fmc')                                           +
 :        MSGDATA(' ' )                                                    +
 :        MSGEXIT(' ' )                                                    +
 :        REPLACE                                                          +
 :        RCVDATA(' ' )                                                    +
 :        RCVEXIT(' ' )                                                    +
 :        SCYDATA(' ' )                                                    +
 :        SCYEXIT(' ' )                                                    +
 :        SENDDATA(' ' )                                                   +
 :        SENDEXIT(' ' )                                                   +
 :        HBINT(5)
 AMQ8405: Syntax error detected at or near end of command segment below:-
 
 DEFINE CHANNEL('CMBWFQM.CL.TCP')                                 CHLTYPE(SVRCONN)                                                 TRPTYPE(TCP)                                                     DESCR('Bi-directional channel to/from CMBWFQM TCPIP')     MAX
 MSGL(9999999)                                                 MCAUSER('fmc')                                           MSGDATA
 
 AMQ8427: Valid syntax for the MQSC command:
 
 
 DEFINE CHANNEL(channel_name)
 CHLTYPE( SVRCONN )                     [ DESCR(string) ]
 [ HBINT ]                               [ LIKE(channel_name) ]
 [ MAXMSGL(integer) ]                    [ MCAUSER(string) ]
 [ NOREPLACE | REPLACE ]                 [ RCVDATA(string) ]
 [ RCVEXIT(string) ]                     [ SCYDATA(string) ]
 [ SCYEXIT(string) ]                     [ SENDDATA(string) ]
 [ SENDEXIT(string) ]                    [ TRPTYPE( LU62 | TCP | NETBIOS |
 PX ) ]
 :
 : *************************************************************************
 : * Client channel definition (client connection)  using TCP/IP           *
 : * to CMBWFQM                                                     *
 : *************************************************************************
 2 : DEFINE CHANNEL('CMBWFQM.CL.TCP')                                 +
 :        CHLTYPE(CLNTCONN)                                                +
 :        CONNAME('eagle(14014)')                             +
 :        TRPTYPE(TCP)                                                     +
 :        DESCR('Bi-directional channel to/from CMBWFQM TCPIP')     +
 :        MAXMSGL(9999999)                                                 +
 :        MSGDATA(' ')                                                     +
 :        MSGEXIT(' ')                                                     +
 :        REPLACE                                                          +
 :        QMNAME('CMBWFQM')                                         +
 :        RCVDATA(' ')                                                     +
 :        RCVEXIT(' ')                                                     +
 :        SCYDATA(' ')                                                     +
 :        SCYEXIT(' ')                                                     +
 :        SENDDATA(' ')                                                    +
 :        SENDEXIT(' ')                                                    +
 :        HBINT(5)
 AMQ8405: Syntax error detected at or near end of command segment below:-
 
 DEFINE CHANNEL('CMBWFQM.CL.TCP')                                 CHLTYPE(CLNTCONN)                                                CONNAME('eagle(14014)')                             TRPTYPE(TCP)                                                     DESCR('Bi
 -directional channel to/from CMBWFQM TCPIP')     MAXMSGL(9999999)                                                 MSGDATA
 
 AMQ8427: Valid syntax for the MQSC command:
 
 
 DEFINE CHANNEL(channel_name)
 CHLTYPE( CLNTCONN )                     CONNAME(string)
 [ DESCR(string) ]                       [ HBINT ]
 [ LIKE(channel_name) ]                  [ MAXMSGL(integer) ]
 [ MODENAME(string) ]                    [ NOREPLACE | REPLACE ]
 [ PASSWORD(string) ]                    [ QMNAME(string) ]
 [ RCVDATA(string) ]                     [ RCVEXIT(string) ]
 [ SCYDATA(string) ]                     [ SCYEXIT(string) ]
 [ SENDDATA(string) ]                    [ SENDEXIT(string) ]
 [ SEQWRAP(integer) ]                    [ TPNAME(string) ]
 [ TRPTYPE( LU62 | TCP | NETBIOS | SPX ) ]    [ USERID(string) ]
 
 :
 2 MQSC commands read.
 2 commands have a syntax error.
 
 _________________
 Regards,
 Ajay
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | bower5932 | 
			  
				|  Posted: Tue Sep 04, 2001 10:45 am    Post subject: |   |  | 
		
		  |  Jedi Knight
 
 
 Joined: 27 Aug 2001Posts: 3023
 Location: Dallas, TX, USA
 
 | 
			  
				| I believe your problem is coming from the MSGDATA and MSGEXIT parameters.  If you remove them, the error should go away. 
 Was this a file that was built by Workflow?  If so, I would have thought that it would have been built correctly.
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | ajay | 
			  
				|  Posted: Fri Sep 07, 2001 3:36 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 29 Aug 2001Posts: 7
 
 
 | 
			  
				| Hi, I think this file is created by  workflow because I tried to remove those variables and tried to run the workflow configuration but this file again created.
 
 
 _________________
 Regards,
 Ajay
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | anantha | 
			  
				|  Posted: Mon Sep 10, 2001 1:33 pm    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 04 Sep 2001Posts: 7
 
 
 | 
			  
				| Hi, I faced the same kind of problem. Please make sure that there is a space after each parameter and then a + sign.
 
 
 
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  | ajay | 
			  
				|  Posted: Sun Sep 16, 2001 3:26 am    Post subject: |   |  | 
		
		  | Newbie
 
 
 Joined: 29 Aug 2001Posts: 7
 
 
 | 
			  
				| Hi, I tried to change this file but this file is created by Mqseries workflow so whenever I configure this always it creates a new file.
 
 Regads,
 Ajay
 |  | 
		
		  | Back to top |  | 
		
		  |  | 
		
		  |  |