GitHubContribute in GitHub: Edit online

Configuring SMF support

To enable SMF recording, do the following steps:

  1. Set up the MVS system
  2. Authorize the user to write SMF records
  3. Configure DBB to write DBB SMF records

Set up the MVS system

For information about setting up the MVS system to enable SMF recording, see System Management Facility (SMF) in IBM Documentation.

Authorize the user to write SMF records

The user running the DBB script must be authorized to write an SMF record. To do so, grant the user read access to the RACF profile BPX.SMF by running the following commands:

PERMIT BPX.SMF CLASS(FACILITY) ID(userid) ACCESS(read)
SETROPTS RACLIST(FACILITY) REFRESH

Configure DBB to write DBB SMF records

By default, writing an SMF record in DBB is turned off. In order to have DBB write an SMF record, you must define a JVM property when starting the script. To do so, include the -DDBB_SMFWRITE_ENABLED=true property on the command line when running groovyz or in your groovy script Java opts when running your Groovy script from Jenkins.