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 IBM MQ Support » setting channel authorization

Post new topic  Reply to topic
 setting channel authorization « View previous topic :: View next topic » 
Author Message
srinivas07438
PostPosted: Wed Jun 26, 2013 1:17 am    Post subject: setting channel authorization Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Wed Jun 26, 2013 1:35 am    Post subject: Reply with quote

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
View user's profile Send private message
srinivas07438
PostPosted: Wed Jun 26, 2013 7:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
srinivas07438
PostPosted: Wed Jun 26, 2013 9:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Wed Jun 26, 2013 10:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
srinivas07438
PostPosted: Wed Jun 26, 2013 10:21 pm    Post subject: Reply with quote

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
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 IBM MQ Support » setting channel authorization
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.