ACF List Members in a Role XROL record gets ACF0A005 RECORD(S) NOT FOUND
search cancel

ACF List Members in a Role XROL record gets ACF0A005 RECORD(S) NOT FOUND


Article ID: 226607


Updated On:


ACF2 - z/OS


A TSO, ACF, ROLES user001 command is issued to display all roles that user00a belongs to. Then a SET X(ROL) and LIST rolename command is issued and ACF0A005 RECORD(S) NOT FOUND message is issued indicating that rolename cannot be found, why?


Release : 16.0

Component : CA ACF2 for z/OS


There are two possible reasons for the ACF0A005 RECORD(S) NOT FOUND message:

  • There is an internal role table in storage, if a role XREF record is inserted, deleted or changed, and a F ACF2,NEWXREF,TYPE(ROL) console command(or ACF) is not issued the change/delete will not be shown. Be sure to issue the F ACF2,NEWXREF,TYPE(ROL) command after any insert, change or delete prior to doing a LIST of the XROL record.

  • XROL records are stored in the ACF2 INFOSTG database indexed by the SYSID.

    For example if the current SYSID for the system that you are issuing the commands from is SYSA and the XROL records are stored in the ACF2 INFOSTG database under SYSA, SYS*, or **** when the XROL in storage table is built it will use any XROL record stored under a SYSID or SYSID mask that matches the current SYSID. The issue comes into play when you try to list XROL records, when you do the SET X(ROL) command, any commands that follow will use the current SYSID, in this example SYSA, if the XROL records are stored under SYS* or **** no records would be found. To get around this a masked SYSID can be used on the SET X(ROL) command to see all XROL records stored under any SYSID.

    For example:
    SET X(ROL) MSYSID(********)
    list ROLEA
    list like(-)

    When the XROL records are listed, the SYSID is displayed before the record name, for example:

    SYSA / FINANCE LAST CHANGED BY USER006 ON 08/15/18-00:01
                         GROUP INCLUDE(FINAR FINMNGR)

    Note: All of the GSO control records are sysid dependent. INFOSTG records that are not sysid dependent are  Resource, Entry, Scope, Time Shift, Certificate, Profile and TSO records.
    When administering any INFOSTG records that are sysid dependent use of the MSYSID command can be used to display records for all sysids. In order to INSERT, CHANGE or DELETE any INFOSTG records that are sysid dependent, the SYSID parameter can be used to identify the SYSID, for example issue the SET X(ROL) SYSID(****) prior to the INSERT, CHANGE or DELETE command.

    To display the current active SYSID the TSO, ACF, SHOW SYSTEMS command can be used. The CURRENT SYSID=sysid is the default sysid for any ACF commands when no sysid is explicitly specified(MSYSID or SYSID).