Is there a way to create an ACF2 report listing the Userids that have the SHIFT restriction in their profile?
search cancel

Is there a way to create an ACF2 report listing the Userids that have the SHIFT restriction in their profile?

book

Article ID: 134504

calendar_today

Updated On:

Products

ACF2 ACF2 - DB2 Option ACF2 for zVM ACF2 - z/OS ACF2 - MISC

Issue/Introduction

This document states whether or not there's a way to create a report listing the Userids who have the SHIFT restriction in their profile.

Environment

Release : 16.0 Component : CA ACF2 for z/OS

z/OS 2.1 and above.

Resolution

The LIST command can accomplish this: 

1) To determine if any SHIFT records actually exist, submit the command below in ACF mode (or, you can use the ACFBATCH report):

   SET SHIFT(SFT)

Followed by:

   LIST LIKE(-)

If no records can be found then there are no ACF2 SHIFT records and users are not restricted from accessing the system based on time.

2) If there are ACF2 SHIFT records defined, you can check to see if any user has the SHIFT records specified for their logonid. To check to see if any user has a SHIFT record specified for their logonid, from TSO ACF you can issue the following commands.

  SET LID

  SET TERSE

  LIST LIKE(-) IF(SHIFT GT ' ')

If there are any logonids with a SHIFT record specified, the logonid will

be listed and SHIFT(xxxxxxxx) will appear, where xxxxxxxx is the name of the SHIFT record.