How to Create multiple GSO STC record and show output?

book

Article ID: 40281

calendar_today

Updated On:

Products

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

Issue/Introduction

Problem: 

I am in the process of updating the started task table, I am adding 2 new entries but only one of my two entries (the last entry added) displays when I perform 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     

  

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

 2 2. How to delete existing GSO STC record?

     

Environment:  

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) 2) Following command is use to delete 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-)

Environment

Release: ACF2..001AO-16-ACF2
Component: