Sample Schema Standards stand-alone batch job (AMASSTDS)


We provide a sample stand-alone Schema Standards job (AMASSTDS) for your reference and convenience. You can obtain the sample job from the <RTEHLQ>..BMCCNTL data set. To perform customization, copy this sample to your personal data set. 

This topic describes how:

To configure the sample Schema Standards JCL job

Use the following procedure to run and customize a stand-alone Schema Standards JCL job:

  1. In the JCL, add a Job card.
  2. Enter values for the following parameters:

    Parameter

    Description

    SET RTEHLQ

    Set the runtime high-level data set qualifier used as your runtime install libraries.

    SET USRHLQ

    Set the user high-level data set qualifier used as your user install libraries.

    JOBLIB

    Set the DSNEXIT & DSNLOAD data sets.

    Important

    If DSNEXIT and DSNLOAD are in your LINKLIST, remove them from JOBLIB DD.

    SET SSID

    Set the Db2 subsystem on which you are running the job.

    SET GUDPLAN

    Set the BMC AMI Command Center plan name. The default plan name is BMCGUIPL.

To analyze schema source for adherence to Schema Standards 

  1. Enter values for the following parameters:

    Parameter

    Notes

    SET RULESET

    Set the rule set name. 

    SET AMAINPUT

    Set the PDS data set and member name if you are using schema source types: DDL, CDL, or WORKLIST.

    SOURCETYPE

    Specify the SOURCETYPE keyword with the schema source (DDL, CDL, WORKLIST, or CATALOG) located in SCHEMAS.ALUIN DD.

    MIGPROFILE

    Insert the MIGPROFILE keyword into the SCHEMAS.ALUIN DD with the Outbound Migrate Profile if you are using schema source type of CATALOG. 

    Important

    Schema Standards requires the Outbound Migrate Profile to be defined with scope rules and considers only the Outbound Migrate Profile for the scope.

    BLPROFILE

    Insert the BLPROFILE keyword into the SCHEMAS.ALUIN DD with the Baseline Profile if you are using schema source type of CATALOG.

    Important

    Schema Standards requires the Baseline Profile to be defined with scope rules and considers only the Baseline Profile for the scope.

  2. Submit the sample job to verify whether the Schema Standards feature is working correctly.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*