Defining the Data Collector started task

The following sample RACF commands create the EQADCOL started task, with protected user ID (STCEQA2) and the STCGROUP group assigned to it:
  1. ADDGROUP STCGROUP OMVS(AUTOGID) - 
    DATA(‘GROUP WITH OMVS SEGMENT FOR STARTED TASKS’)
  2. ADDUSER STCEQA2 DFLTGRP(STCGROUP) NOPASSWORD - 
    NAME(‘DATA COLLECTOR’) -
    OMVS(AUTOUID HOME('/tmp') PROGRAM('/bin/sh'))
    - DATA('IBM z/OS Debugger')`
  3. RDEFINE STARTED EQADCOL.* - 
    STDATA(USER(STCEQA2) GROUP(STCGROUP) TRUSTED(NO)) - 
    DATA(‘DATA COLLECTOR’)
    
  4. SETROPTS RACLIST(STARTED) REFRESH
Note:
  • Ensure that the started task user ID is protected by specifying the NOPASSWORD keyword.
  • Ensure that the home directory exists and the started task user has read, write, and execute access. Otherwise, Data Collector will not start.
  • You have to define multiple started tasks depending on whether different properties needs to be configured for different collection requirements. If you use the profile name EQADCOL*.* as in the example, this profile will cover all started tasks that starts with the name EQADCOL followed by zero or more characters.