RACF to ACF2 command translation for IBM PFA product
search cancel

RACF to ACF2 command translation for IBM PFA product

book

Article ID: 254278

calendar_today

Updated On:

Products

ACF2 - z/OS

Issue/Introduction

Installing a feature for IBM health checker (PFA), how can the command definitions be translated from RACF to ACF2?

 

Environment

Release : 16.0

Resolution

Here are the ACF2 equivalent commands for the 'RACF Steps for installing PFA'. The following command statements can be entered from the TSO, ACF command processor or the ACFBATCH job.

* This example shows how you can define and connect a new user to RACF. 
* Ensure that you replace the parameters with the correct settings for your installation.
* ADDUSER pfauser OMVS(UID(7) PROGRAM(/bin/sh)) PASSWORD(sys1)
* ADDGROUP OMVSGRP OMVS(GID(46)) 
* CONNECT pfauser GROUP(OMVSGRP)
*
ACF
INSERT pfauser NAME(PFAuser) UID(7) OMVSPGM(/bin/sh) PASSWORD(sys1) GROUP(OMVSGRP)
SET PROFILE(GROUP) DIV(OMVS)
INSERT OMVSGRP GID(46)
*
* This example shows how you can change the information in a user's RACF profile:
* altuser pfauser omvs(uid(7) shared program(/bin/sh))
*
ACF
SET LID
CHANGE pfauser uid(7) program(/bin/sh)
*
* Add the PFA task to the STARTED class table in RACF and refresh, if necessary. For example:
* SETROPTS GENERIC(STARTED)
* RDEFINE STARTED PFA.* STDATA(USER(pfauser) GROUP(OMVSGRP))
**  Note: the above may be a typo, it does not make sense to add a new PFA user
**        as a STARTED task.
**        The sample ACF2 command adds the 'PFA task' rather than the PFA user.
* SETROPTS CLASSACT(STARTED)
* SETROPTS RACLIST(STARTED)
* If you have already activated RACLIST in the STARTED class, the last statement is:
* SETROPTS RACLIST(STARTED) REFRESH
*
ACF
SET CONTROL(GSO)
INSERT STC.PFA GROUP(OMVSGRP) LOGONID(PFA) STCID(PFA*)
* INSERT STC.PFA GROUP(OMVSGRP) LOGONID(pfauser) STCID(PFA*)
F ACF2,REFRESH(STC)