IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Setting up a name counter in the coupling facility for cics


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mike.Fulton

New User


Joined: 11 Jun 2014
Posts: 22
Location: Canada

PostPosted: Tue Dec 25, 2018 1:34 am
Reply with quote

Hi Folks,

I am new to the coupling facility and am trying to set up a CICS counter following: www.ibm.com/support/knowledgecenter/en/SSGMCP_5.5.0/configuring/cics/dfha2_def_nnc_optionstable.html

I am at the step where I need to define the struct, but am at a loss to understand what authority I've not given myself. When I go to use IXCMIAPU to define my struct as follows:
DATA TYPE(CFRM) REPORT(YES)
DEFINE STRUCTURE NAME(DFHNCLS_GENA)
SIZE(2048)
INITSIZE(1024)
PREFLIST(FACIL01,FACIL02)
I get:
IXC740I THE XCF ADMINISTRATIVE DATA UTILITY ENCOUNTERED AN ERROR WHILE
USING COUPLE DATA TYPE CFRM. THE USER WAS NOT AUTHORIZED TO READ THE
COUPLE DATA TYPE RESOURCE.

I issued the following but that still isn't doing the trick:

RDEFINE FACILITY ILXSTR.DFHNCLS_GENA UACC(NONE)
SETROPTS CLASSACT(FACILITY)
PERMIT ILXSTR.DFHNCLS_GENA CLASS(FACILITY) ID(TSTRADM) ACCESS(ALTER)
RDEFINE FACILITY DFHNC.DFHNCLS_GENA UACC(NONE)
PERMIT DFHNC.DFHNCLS_GENA CLASS(FACILITY) ID(TSTRADM) ACCESS(CONTROL)
SETROPTS RACLIST(FACILITY) REFRESH
Back to top
View user's profile Send private message
Mike.Fulton

New User


Joined: 11 Jun 2014
Posts: 22
Location: Canada

PostPosted: Tue Dec 25, 2018 2:57 am
Reply with quote

I found the right book: bit.ly/CFV2R3_Authorization

and I then added this:
RDEFINE FACILITY MVSADMIN.XCF.CFRM UACC(NONE)

PERMIT MVSADMIN.XCF.CFRM CLASS(FACILITY) ID(TSTRADM) ACCESS(UPDATE)

and solved my problem!
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Thu Dec 27, 2018 12:40 am
Reply with quote

Thanks for the Solution.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Two input files & writing counter... DFSORT/ICETOOL 12
Search our Forums:

Back to Top