| Author | 
		  Message
		 | 
		
		  | srinivas07438 | 
		  
		    
			  
				 Posted: Wed Jun 26, 2013 1:17 am    Post subject: setting channel authorization | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 26 Jun 2013 Posts: 28
  
  | 
		  
		    
			  
				i issue the following command to block 
 
i am using the windows
 
 
SET CHLAUTH('*') TYPE(ADDRESSMAP) ADDRESS('*') USERSRC(NOACCESS)
 
 
 
Please can anyone tell me what I am missing?
  Last edited by srinivas07438 on Wed Jun 26, 2013 8:15 pm; edited 3 times in total | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | smdavies99 | 
		  
		    
			  
				 Posted: Wed Jun 26, 2013 1:35 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land. 
  | 
		  
		    
			  
				Perhaps you should attend some IBM training on the product. This would have enabled you to complete this task without posting here.
 
 
Hint...
 
  This command can't be run directly from the command line. You need to be running an application that understands the command first.
 
 
I will leave you to work out what application it is for yourself. The IBM documentation even has a whole section on this application. _________________ WMQ User since 1999
 
MQSI/WBI/WMB/'Thingy' User since 2002
 
Linux user since 1995
 
 
 
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srinivas07438 | 
		  
		    
			  
				 Posted: Wed Jun 26, 2013 7:55 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 26 Jun 2013 Posts: 28
  
  | 
		  
		    
			  
				Tq
 
 
can i have the link please
 
 
I TRIED TO ALTER THE QUEU MANAGER BY EXECUTING COMMAND
 
 
ALTER QMGR CHLAUTH(ENABLED)
 
 
BUT NOT EXECUTED THE FOLLOWING IS SHOWING
 
 
ALTER QMGR CHLAUTH(ENABLED)
 
     1 : ALTER QMGR CHLAUTH(ENABLED)
 
AMQ8405: Syntax error detected at or near end of command segment below:-
 
ALTER QMGR CHL
 
 
AMQ8427: Valid syntax for the MQSC command:
 
 
  ALTER QMGR  [ FORCE ]
 
   [ ACCTINT( integer ) ]                  [ ACCTCONO( ENABLED | DISABLED ) ]
 
   [ ACCTMQI( ON | OFF ) ]                 [ ACCTQ( NONE | ON | OFF ) ]
 
   [ ACTIVREC( MSG | QUEUE | DISABLED ) ]  [ AUTHOREV( ENABLED | DISABLED ) ]
 
   [ CCSID( integer ) ]                    [ CHAD( ENABLED | DISABLED ) ]
 
   [ CHADEV( ENABLED | DISABLED ) ]        [ CHADEXIT( string ) ]
 
   [ CHLEV( ENABLED | DISABLED | EXCEPTION ) ]
 
   [ CLWLDATA( string ) ]                  [ CLWLEXIT( string ) ]
 
   [ CLWLLEN( integer ) ]                  [ CLWLMRUC( integer ) ]
 
   [ CLWLUSEQ( LOCAL | ANY ) ]
 
   [ CMDEV( ENABLED | DISABLED | NODISPLAY ) ]
 
   [ CONFIGEV( ENABLED | DISABLED ) ]      [ DEADQ( string ) ]
 
   [ DEFXMITQ( string ) ]                  [ DESCR( string ) ]
 
   [ INHIBTEV( ENABLED | DISABLED ) ]      [ IPADDRV( IPV4 | IPV6 ) ]
 
   [ LOCALEV( ENABLED | DISABLED ) ]       [ LOGGEREV( ENABLED | DISABLED ) ]
 
   [ MARKINT( integer ) ]                  [ MAXHANDS( integer ) ]
 
   [ MAXMSGL( integer ) ]                  [ MAXUMSGS( integer ) ]
 
   [ MAXPROPL( NOLIMIT | integer ) ]
 
   [ MONACLS( QMGR | OFF | LOW | MEDIUM | HIGH ) ]
 
   [ MONCHL( NONE | OFF | LOW | MEDIUM | HIGH ) ]
 
   [ MONQ( NONE | OFF | LOW | MEDIUM | HIGH ) ]
 
   [ PARENT( string ) ]                    [ PERFMEV( ENABLED | DISABLED ) ]
 
   [ PSMODE( ENABLED | DISABLED | COMPAT ) ]
 
   [ PSNPRES( NORMAL | SAFE | DISCARD | KEEP ) ]
 
   [ PSNPMSG( DISCARD | KEEP ) ]           [ PSRTYCNT( integer ) ]
 
   [ PSSYNCPT( YES | IFPER ) ]             [ REMOTEEV( ENABLED | DISABLED ) ]
 
   [ REPOS( string ) ]                     [ REPOSNL( string ) ]
 
   [ ROUTEREC( MSG | QUEUE | DISABLED ) ]  [ SCHINIT( MANUAL | QMGR ) ]
 
   [ SCMDSERV( MANUAL | QMGR ) ]           [ SSLCRLNL( string ) ]
 
   [ SSLCRYP( string ) ]                   [ SSLFIPS( YES | NO ) ]
 
   [ SSLKEYR( string ) ]                   [ SSLRKEYC( integer ) ]
 
   [ SSLEV( ENABLED | DISABLED ) ]
 
   [ STATACLS( QMGR | OFF | LOW | MEDIUM | HIGH ) ]
 
   [ STATCHL( NONE | OFF | LOW | MEDIUM | HIGH ) ]
 
   [ STATINT( integer ) ]                  [ STATMQI( ON | OFF ) ]
 
   [ STATQ( NONE | ON | OFF ) ]            [ STRSTPEV( ENABLED | DISABLED ) ]
 
   [ TREELIFE( integer ) ]                 [ TRIGINT( integer ) ]
 
 
 
IN THIS WHICH ONE I HAVE TO CHANGE FOR THE 
 
ALTER QMGR CHLAUTH(ENABLED)
  Last edited by srinivas07438 on Wed Jun 26, 2013 9:12 pm; edited 1 time in total | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srinivas07438 | 
		  
		    
			  
				 Posted: Wed Jun 26, 2013 9:15 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 26 Jun 2013 Posts: 28
  
  | 
		  
		    
			  
				i executed from the runmqsc control program and giving the response as
 
 
SET CHLAUTH('*') TYPE(ADDRESSMAP) ADDRESS('*') USERSRC(NOACCESS)
 
     2 : SET CHLAUTH('*') TYPE(ADDRESSMAP) ADDRESS('*') USERSRC(NOACCESS)
 
AMQ8405: Syntax error detected at or near end of command segment below:-
 
S
 
 
AMQ8426: Valid MQSC commands are:
 
 
    ALTER
 
    CLEAR
 
    DEFINE
 
    DELETE
 
    DISPLAY
 
    END
 
    PING
 
    REFRESH
 
    RESET
 
    RESOLVE
 
    RESUME
 
    START
 
    STOP
 
    SUSPEND | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | exerk | 
		  
		    
			  
				 Posted: Wed Jun 26, 2013 10:04 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		    Jedi Council
 
 Joined: 02 Nov 2006 Posts: 6339
  
  | 
		  
		    
			  
				Bear in mind that you can only execute SET CHLAUTH commands on WMQ V7.1 and above. _________________ 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 | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | srinivas07438 | 
		  
		    
			  
				 Posted: Wed Jun 26, 2013 10:21 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Apprentice
 
 Joined: 26 Jun 2013 Posts: 28
  
  | 
		  
		    
			  
				| tq every one i got the solution, actually i am using the version 7.0, so it is not working because the channel auth rules integrated in the version mqv7.1 onwards. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |