Sample JCL to TERSE & FTP a SMF Archive File to a MRI Support Case
search cancel

Sample JCL to TERSE & FTP a SMF Archive File to a MRI Support Case

book

Article ID: 215561

calendar_today

Updated On:

Products

Mainframe Resource Intelligence

Issue/Introduction

How do I attach an SMF Archive file to a Broadcom Support Case?

Environment

MAINFRAME RESOURCE INTELLIGENCE  

Resolution

You must first terse the SMF File and then FTP the tersed file to the Support Case ftp directory.

Sample JCL follows:

(1). Allocate a dataset for the OUTFILE DD with DCB=(RECFM=FB,LRECL=1024,BLKSIZE=6144)       *

(2).  Point the INFILE DD to the SMF File (dataset name) that you want to terse.

(3). Specify the name of the 

SAMPLE JCL to TERSE SMF FILE 

//**********************************************************************
//*  Allocate FTP dataset DCB=(RECFM=FB,LRECL=1024,BLKSIZE=6144)       *
//**********************************************************************
//ALOC    EXEC PGM=IEFBR14
//DISTLOAD DD DSN=hlq.SMF.TRS,
//            DISP=(NEW,CATLG,DELETE),UNIT=3390,
//            VOL=SER=WORK08,STORCLAS=IPCSDUMP,
//            SPACE=(CYL,(900,900),RLSE),
//            DCB=(RECFM=FB,LRECL=1024,BLKSIZE=6144)
//**********************************************************************
//*  TERSE UNPACK/PACK - INFILE/OUTFILE 
//**********************************************************************
//PACK1     EXEC PGM=TRSMAIN,PARM=PACK
//SYSPRINT  DD SYSOUT=*
//INFILE    DD DSN=hlq.SMF.FILE,DISP=SHR
//OUTFILE   DD DSN=hlq.SMF.TRS.TRS2,DISP=SHR

FTP the tersed file written to the OUTFILE DD to the support case directory

Where 999999 = Site ID 
Where 99999999 = Wolken Case# 

Where/0999999/99999999/files_from_customer/

SAMPLE FTP JCL 

//FTPINCOM EXEC PGM=FTP,REGION=4096K
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//SYSTCPD  DD DISP=SHR,DSN=vtam.tcpip.data.file
//INPUT DD *
supportftp.broadcom.com
[email protected] 
password
cd /0999999/99999999/files_from_customer/
LOCSITE FWFRIENDLY            
bin
put 'SMF.FILE.DSNAME' SMF.TRS (REP