search cancel

How to create and delete ACF2 GSO STC records and show output?

book

Article ID: 40281

calendar_today

Updated On:

Products

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

Issue/Introduction

Problem: 

In the process of updating the started task table adding 2 new entries but only one of two entries (the last entry added)
displays when issuing the "show STCID" command.

Example:

SET CONTROL(GSO)

INSERT STC LOGONID(psfstcid) STCID(psf*****)

INSERT STC LOGONID(cicstcid) STCID(cic*****)

F ACF2,REFRESH(stc)

show stcid                       

 -- STARTED TASK TABLE --                                      

  STCID     LOGONID   GROUP    

  ========  ========  =======                                 

  CHORTSF   CHORADM   CHORGRP  

  CHORTSFR  CHORADM   CHORGRP  

  CIC*****  CICSTCID     

  

1. How to create multiple GSO STC Records and show it in output?

2. How to delete existing GSO STC record?


Environment

Release : 16.0
Component : CA ACF2 for z/OS

Cause

Multiple STC record created on same sysid without using a qualifier.


Resolution

1a) If you need more than one STC record, append a qualifier to the record name in the format STCqual to generate a unique record ID.

For example, STCVMAN or STC.DATASET. This optional qualifier can be up to 13-characters and must immediately follow the characters STC.
If you use a period (.) as part of the qualifier string for the record name, CA ACF2 counts it as one of the 13-characters.

Following command shows how to create GSO STC record:

SET CONTROL(GSO)

INSERT STCqual(record id) LOGONID(lid) STCID(started task name)

F ACF2,REFRESH(STC)

Example:

INSERT STC.psf***** LOGONID(psfstcid) STCID(psf*****)

INSERT STC.cic***** LOGONID(cicstcid) STCID(cic*****) 

 

1b)  SHOW STCID command displays GSO STC records table

acf

show stcid

-- STARTED TASK TABLE --                                      

  STCID     LOGONID   GROUP    

  ========  ========  =======                                 

  CHORTSF   CHORADM   CHORGRP  

  CHORTSFR  CHORADM   CHORGRP  

  PSF*****  PSFSTCID

  CIC*****  CICSTCID

 

2) Following command is use to delete a GSO STC record

Set control(gso)

Delete STCqual(record id)

Example: del stc.psf*****

Additional Information

Following command shows STC records from all sysids:

SET CONTROL(GSO) MSYSID(********)

LIST LIKE(STC-)