Section 1, Task 3: Create a Test PDB and Process, Reduce, and Report on Data
Action 3: Process your data into a test PDB
Step c: Tailor this step for your collector

//STEP01  EXEC SAS,WORK='42000,6300',
//        CONFIG='your.itsv.CPMISC(CMCONFIG)'
//SASLIB   DD DSN=your.tmonexit.loadlib,DISP=SHR
//TMDBIN   DD DSN=your.tmon.DB2.log,DISP=SHR
//SYSIN   DD DATA,DLM='$$'
  *------------------------------------------------------------*
  * You must execute %CPSTART to run IT Service Version.  This *
  * macro initiates IT Service Vision and allocates the PDB.   *
  * The MXGLIB= parameter is required whenever your PDB        *
  * contains tables processed with MXG.  The MXGSRC= parameter *
  * is required only if you use %CMPROCES with MXG in this     *
  * job step.  The ROOTSERV= and SHARE= parameters should only *
  * be used if SAS/SHARE is being used with IT Service Vision. *
  * If the _RC= parameter is nonzero from %CPSTART,            *
  * check the explanatory message in the SAS log.              *
  *------------------------------------------------------------* ;
 /* verify root= pdb= mxgsrc= mxglib= in the following */
 %CPSTART(MODE=BATCH,SYSTEM=MVS,
          ROOT=your.itsv.,
          ROOTSERV=,
          PDB=your.tmonpdb.',
          DISP=OLD,SHARE=N/A,
          MXGLIB=mxg.mxg.formats,
          MXGSRC=('mxg.userid.sourclib' 'mxg.mxg.sourclib'),
          _RC=cpstrc
         );
 %PUT CPSTART return code is &cpstrc;
 *------------------------------------------------------------*
 * The %CMPROCES macro processes data into the PDB that was   *
 * established by the %CPSTART macro above.                   *
 * Only tables specified as the second parameter will be      *
 * processed in this example.                                 *
 * If the _RC= parameter is nonzero from %CMPROCES,           *
 * check the explanatory message in the SAS log.              *
 *------------------------------------------------------------* ;
 /* verify the list of tables in the following */
 %CMPROCES(,XTMDBDA XTMDBDB XTMDBDE XTMDBDR,
           COLLECTR=TMONDB2,TOOLNM=MXG,
           _RC=cmprrc
          );
 %PUT CMPROCES return code is &cmprrc;