Define the Application (ZTMGENIN)
These statements that are listed here define an MSI field-developed application for VTAM Tuning Statistics (ZTM), derived from the MXG file TYPE50, with one file VTAM Tuning Stats (ZTS).
rm
Required roles: systems programmer, security administrator, database administrator |
|---|
These statements illustrate field-developed application definitions.
For information about the required order of these statements, see MSI Definition Statements.
Example ZTM Pproduct
Hypothetical contents of sharedprefix.MICS.GENLIB(ZTMGENIN):
ZTM component generator statements
The following GEN statement causes the MCG to generate documentation shells and file description members.
GEN GENSHELL
If an OPTION statement existed, it would be placed here.
The COMP statement identifies the ZTM product. This product is step 198 of the
MICS
operational jobs, so the UNP update step of the MICS DAILY
job, for example, would be step DAY198. The input source for reading ZTM data is a VBS data set of default blocksize. The accounting component is not active for ZTM (because there is no user-related identifier on any VTAM Tuning data).COMP ZTM 198 . . NOACCT VTAM Tuning STATS COMPOPT DEFAULT DEFAULT
In order to use MSI features, specify MSI as the input source.
INPUTSOURCE MSI COMPJOB DWMY EDWM AWM DBMDATA1 15 100 50 30000 0 0 OPTION
Special options for MSI are set here. Note that options specified here are global and applies to all files, and that MSIOPTS can be used after the INPUTSAS statement to specify or override options.
In this example, the following options are used:
SPLITCHAR translates '*' to a space (the * is used in MXG as a new line character when printing labels).
FILTER automatically ignores variables that conflict with existing
MICS
variables for specific data sourcesMSIOPTS SPLITCHAR * MSIOPTS FILTER MXG
ZTM's information area is also called ZTM.
AREA ZTM VTAM Tuning STATS INFO AREA * FILE ZTS 00 1 Y Y Y Y Y N Y Y Tuning STATS FOPT DEFAULT DEFAULT STD CYCLES 07 33 09 06 01 00 053 024 COMPRESS Y Y Y Y Y
The INPUTSAS statement is used to specify the SAS data set that is used as input in the DAYxxx step.
INPUTSAS PDB.TYPE50
Each file that uses INPUTSAS or INPUTMODEL is designated as an MSI file and MUST define ENDTS, STARTTS, and ORGSYSID. Failing to specify these data elements will result in an error.
ENDTS SMFTIME STARTTS SMFTIME ORGSYSID SYSTEM
The following statements change a data element's type. Here BSIZE is changed to RETAIN, and MXTRSIZE is changed to MAXIMUM.
RETAIN BSIZE MAXIMUM MXTRSIZE
The KEEP/DROP statements allow for elements to be removed from the file.
DROP VERSN50
The SEQUENCE statement (here) sets the user sort sequence for the ZTS file. This sequence applies to all timespans. Note that it is unnecessary to specify things like MONTH, DAY, YEAR, and so on.
SEQUENCE SYSID CONTROLR CTCANAME MPCNAME
MSI allows modifications of the sort sequences to specific timespans. Here the APPENDSEQUENCE statement adds the data element DEV to the sort sequence after MPCNAME, only for the detail timespan.
DETAIL APPENDSEQUENCE DEV
End of example for ZTMGENIN.