Services
Services are programs (or utilities) that DASD MANAGER PLUS runs as part of a Service Action. Services are either of the following types:
BMC Software required services
DASD MANAGER PLUS provides these Service definitions with default syntax parameters. You can copy the supplied BMC default syntax to your own syntax. You can also modify the syntax parameters as needed. DASD MANAGER PLUS can easily run these Services, which include most BMC Software and IBM utilities. You cannot delete these Services.
The following table lists the Services that BMC Software provides. You can run these services in DASD MANAGER PLUS Actions.
DASD MANAGER PLUS utilities and commands
Service type | Service name |
---|---|
Statistics utilities |
|
Image Copy utilities |
|
Reorganize utilities |
|
UNLOAD and LOAD utilities |
|
DB commands and utilities |
|
Check and Report utilities |
|
Recovery utilities | RECOVER |
Worklist commands |
|
The following table describes the utilities by their command names and provides the names that are generated for the utilities in the worklists:
Command descriptions
Command | Worklist form | Description |
---|---|---|
ALTERSEC | SQL | Sets a threshold for the maximum number of extents in one or more table spaces or indexes, and increases the secondary space allocation by a specified percentage if the threshold is exceeded |
BMCCPRS | BMCU | Copies statistics from the DB2 catalog into the DASD MANAGER PLUS database |
BMCLOAD | BMCL | Runs the BMC LOADPLUS utility You must have installed LOADPLUS to use this function (seeLOADPLUS for DB2 command and syntax reference). |
BMCREORG | BMCR | Runs the BMC REORG PLUS product to reorganize DB2 physical objects You must have installed REORG PLUS to use this function (seeREORG PLUS for DB2 command and syntax reference). |
BMCSTATS | BMCU | Runs the DASD MANAGER PLUS statistics-gathering utility |
BMCTRIG | BMCU | Runs the DASD MANAGER PLUS utility automation function |
BMCUNLOD | BMCD | Runs the BMC CHECK PLUS product You must have installed CHECK PLUS to use this function (seeCHECK PLUS for DB2 Reference Manual). |
BMCUPRS | BMCU | Updates the DB2 catalog statistics from the statistics in the DASD MANAGER PLUS database by using the SQL UPDATE statement |
CHEK DA | CHEK | Runs the DB2 CHECK DATA utility |
CHEK LOB | CHEK | Runs the DB2 CHECK LOB utility |
DSN1COPY | DSN1 | Runs the DB2 DSN1COPY utility |
FULLCOPY | COPY | Makes a full image copy by using the DB2 COPY utility |
INCRCOPY | COPY | Makes an incremental copy by using the DB2 COPY utility |
LOAD | LOAD | Runs the DB2 LOAD utility |
MERGCOPY | MERG | Runs the DB2 MERGECOPY utility |
MODICOPY | MODI | Runs the DB2 MODIFY utility |
MODISTAT | MODI | Runs the DB2 MODIFY STATISTICS utility |
AMICOPY | AMIC | Runs the BMC AMI Copy product to produce image copies of DB2 for OS/390 physical objects You must have installed AMI Copy to use this function (see AMI COPY for Db2). |
AMICOPYI | AMIC | Runs the BMC AMI Copy product to produce copies of image copies You must have installed AMI Copy to use this function (see AMI COPY for Db2). |
AMIMOD | AMIC | Runs the AMI Copy/MODIFY product to perform maintenance on SYSCOPY You must have AMI Copy installed to use this command (see AMI COPY for Db2). |
AMIREORG | AMIU | Runs the AMI Reorg utility |
QUIESCE | QUI | Runs the DB2 QUIESCE utility |
RECOVER | RECV | Runs the DB2 RECOVER utility |
REORG | REOR | Runs the DB2 REORG utility |
REP REC | REPO | Runs the DB2 REPORT utility with the RECOVERY keyword |
REP SET | REPO | Runs the DB2 REPORT utility with the TABLESPACESET keyword |
REPAIR | REPX | Runs the DB2 REPAIR utility |
RESIZE | SQL | Generates the ALTER commands to resize STOGROUP defined objects |
RUNSTATS | RNST | Runs the DB2 RUNSTATS utility |
START DB | CMD | Runs the DB2 START DATABASE command |
STOP | STOP | Runs the Stop worklist command |
STOP DB | CMD | Runs the DB2 STOP DATABASE command |
STOSPACE | STOS | Runs the DB2 STOSPACE utility |
SYNC | SYNC | Runs the Sync Point command |
User-defined programs or services
DASD MANAGER PLUS supports user-defined programs (also called user-defined Services) as well as your other Services (previously called job steps) as part of a Service Action.
When you specify the JCL elements for generating the Service as shown in the following table, DASD MANAGER PLUS substitutes symbolic variables before generating control cards for JCL Generation.
JCL elements for generating Services
JCL element | Description |
---|---|
EXEC statement information |
|
DD statement information (including STEPLIBS) |
|
Syntax information | Template syntax including symbolic variables |
The following table lists the symbolic variables that DASD MANAGER PLUS supports. Use && (two ampersands) to indicate that DASD MANAGER PLUS should not substitute the variable and that it should remove one ampersand and generate the rest in the syntax. If the product encounters an ampersand with a symbol that it does not recognize, it generates the symbolic variable in the text. For a description of JCLGEN symbolic variables, see JCLGEN.
Supported symbolic variables
Symbolic variable | Description |
---|---|
ALID | Same as WKID |
CR CREATOR | Creator |
DA | Date, same as DD |
DATE | Date in YYMMDD format |
DATEJ | Date in YYYYDDD format |
DB | Database |
DBNAME | Database name |
DD | Day of month |
DDD | Julian day |
DDSEQ DSQ | DD sequence number |
DOPTS | Default options module, for full automation mode only |
DSNUM | Same as PART |
DT | Date in YYMMDD format |
HH | Hour |
HMS | Same as TIME |
HO | Hour |
IX | Index |
IXCR | Index creator |
IXNAME | Index name |
JD | Date in YYDDD format |
JDATE | Date in YYYYDDD format |
JDAY | Julian day |
JOBTYP | Job type, for online generation only |
JQID | Same as WKID |
JUL4Y | Date in YYYYDDD format |
JULIAN | Date in YYDDDD format |
MEMBER | For online generation only |
MI | Minutes |
MM MO | month |
OBJKW | Object keyword |
OBJNAME | Object name |
OBJT | Object type |
OBJTYPE | Object type |
OBNAM | Object name |
PART | Partition ID |
PART2 | Partition ID, at least 2-digits |
PART3 | Partition ID, at least 3-digits |
PART4 | Partition ID, is 4-digits |
PGMR | For online generation only |
PREFIX | Same as USERID, for online generation only |
RUNTYP | Run type, for online generation only |
SC SS | Seconds |
SPNAME | Either table space name or index space name |
SSID | Subsystem ID |
TIME | Time in HHMMSS format |
TS | Table space |
TSNAME | Table space name |
UID | Same as USER, for online generation only |
USER | For online generation only |
USERID | For online generation only |
UTILID UTID | Utility ID, for full automation mode only |
VCAT | VCAT name |
WKID | Action name |
WKID8 | First 8 characters of WORKID or action |
WORKID | Same as WKID |
YEAR | Year in YYYY format |
YY | Year in YY format |
YYYY | Year in YYYY format |
ZPREFIX | Same as PREFIX, for online generation only |
ZUSER | Same as USERID, for online generation only |
For an example of how to create a user-defined Service, see Example-of-creating-a-User-Defined-service.