UIE - How to send SMF data from the Mainframe to BMC's ftp site.

Version 1

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    BMC Capacity Management for Mainframes


    BMC Performance Analyzer for Mainframes


    UIE, Universal Information Exchange


    Is there a way to send SMF data directly from our (customer) Mainframe to BMC's ftp site (ftp.bmc.com)?  


    The following JCL can be edited and run on the customer's mainframe.  The only caveat is the customer's mainframe must be able to connect through ftp to BMC's ftp site.

    ***Note - After running the job and the data has been successfully uploaded the BMC ftp site, please include the job output so that the TSA can see the SMF report and the specifics of the ftp transfer.

    //<valid Jobcard>                                        //*                                                      //* JCL to terse (pack) and ftp SMF data                 //* to BMC's ftp site (ftp.bmc.com)                      //*                                                      //* Change (all) the following to your names...          //*                                                      //*  <valid Jobcard>                                     //*  <your_SMF_dsn>                                      //*  <user_prefix>                                       //*  <case#>                                             //*  <your_trs_lib>                                      //*  <your_email_address>                                //*  <ftp_file_name>                                     //*                                                      //PKFTPSMF PROC SMF='<your_SMF_dsn>',                    //       TRS='<user_prefix>.<case#>.TRS'                 //*                                                      //* Create an SMF report of input dsn                 //*                                                   //SMFRPT  EXEC PGM=IFASMFDP                           //SYSPRINT DD SYSOUT=*                                //SMFIN    DD DISP=SHR,DSN=&SMF                       //*                                                   //SMFOUT    DD DUMMY                                  //SYSIN     DD DUMMY                                  //*                                                   //*       TRSMAIN WITH PACK OPTION                    //*                                                   //PACK    EXEC PGM=TRSMAIN,PARM=PACK                  //STEPLIB  DD  DISP=SHR,DSN=<your_trs_lib>.LOADLIB    //SYSPRINT DD  SYSOUT=*                               //INFILE   DD  DISP=SHR,                              //       DSN=&SMF                                     //OUTFILE  DD  DISP=(NEW,CATLG),UNIT=DISK,            //       SPACE=(CYL,(50,50),RLSE),                    //       DSN=&TRS                                         //*                                                       //*       FTP from Mainframe to ftp.bmc.com               //*                                                       //FTP     EXEC PGM=FTP                                    //SYSPRINT DD  SYSOUT=*                                   //OUTPUT   DD  SYSOUT=*                                   //SYSOUT   DD  SYSOUT=*                                   //TRSFILE  DD  DISP=SHR,                                  //       DSN=&TRS                                         //INPUT    DD  DUMMY                                      //*                                                       //     PEND                                               //PKFTPSMF EXEC PKFTPSMF                                  //*                                                       //SMFRPT.SYSIN DD *                                        INDD(SMFIN,OPTIONS(DUMP))                                 OUTDD(SMFOUT,TYPE(0:255))                                /*                                     //*                                    //FTP.INPUT DD *                        ftp.bmc.com                            anonymous                              <your_email_address>                   cd /incoming                           mkdir <case#>                          cd <case#>                             binary                                 PUT //DD:TRSFILE <ftp_file_name>      /*                                     //*                                    //


    Article Number:


    Article Type:


      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles