Dino Explorer. MVS Data Collector for Mainframe Assessment

Similar documents
Dino Explorer Suite. MVS Installation and Operations Guide. Version 6.0.2

zcost Management Dino Explorer Suite MVS Installation and Operations Guide

Dino Explorer Suite. User's Guide version 6.2.3

Workflow Manager - ENDEVOR Attachment

athene Getting Started Guide

Workflow Manager Endevor Attachment

zcost Management Dino Explorer Suite User s Guide

COMPUTER EDUCATION TECHNIQUES, INC. (JCL ) SA:

JCL MOCK TEST JCL MOCK TEST III

Uni Hamburg Mainframe Summit z/os The Mainframe Operating. Part 2 TSO, ISPF und Unix Shell. Introduction to the new mainframe

Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating. Part 6 z/os Concepts

z/os Learning Center: Introduction to ISPF Unit 1: The Basics of ISPF and Data Sets Module 3: ISPF Data Set Basics

for Mainstar MXI G2 Session 8962 Speaker: Shari Killion

RA/2 RACF CLI Version 1 - Release 1

CustomPac FTPCSI Utility User Guide

z/os Introduction and Workshop Data Sets

Transporting files between MVS and MVS or between MVS and a Workstation

The SMF recovery analysis report (SRSSMF) formats SMF records produced by SRS and provides totals for the successful and unsuccessful recoveries

IBM Tivoli Advanced Reporting for DFSMShsm. User s Guide. Version 1 Release 1 SC

IBM Tivoli Advanced Reporting for DFSMShsm. User s Guide. Version 2 Release 2 SC

* Parameter... 1:18. B Backward References... 5:8 Blocksize: Choosing... 3:19

The CA Disk FILES Data Set

INNOVATION TECHSUPPORT

Browsing MVS Control Blocks Using DDLIST/ISRDDN Under ISPF.

IBM z Systems Development and Test Environment Tools User's Guide IBM

COMP 3400 Mainframe Administration 1

JCL MOCK TEST JCL MOCK TEST IV

[Installation and User s Guide] Syzygy Incorporated. SyzTXT/z - Installation and User s Guide. [Version 5] November 23, 2011

Chapter 2 TSO COMMANDS. SYS-ED/ Computer Education Techniques, Inc.

ISPF Users Boot Camp - Part 2 of 2

SyzAuto. Version Product Manual

Failures under MVS p. 67 General p. 67 JCL Errors p. 68 Syntactical JCL Errors p. 68 Allocation JCL Errors p. 69 ABEND Failures p.

Oracle Tuxedo Mainframe Adapter for TCP

Chapter 2 ACCESS METHOD SERVICES. SYS-ED/ Computer Education Techniques, Inc.

CA Allocate DASD Space and Placement CA RS 1610 Service List

IBM. IBM Software Manufacturing Solutions. Attached to this memorandum: Summary of Changes. List of Program Material. Installation Instructions.

//JOBNAME JOB //STEPNAME EXEC //DDNAME DD //* comment - upper or lower case /*...end of JCL stream

CustomPac FTPCSI Utility User Guide

IBM. Program Directory for. IBM z Systems Development and Test Environment Tools. V Program Number 5725-G39 FMID HALMB00.

Getting Started with Xpediter/Eclipse

PDSUPDTE. 4. When the length of STRING2 is less than that of STRING1, blanks are inserted after the next pool of two blanks following STRING1.

IBM System z Fast Track

Program Directory for IBM z Systems Development and Test Environment Tools

Chapter 14. Reclaiming CIs in secondary index databases with FPA

Program Directory for IBM WebSphere Application Server OEM Edition for z/os for Rational Team Concert for System z V Program Number 5724-V82

PowerExchange Logger: Changing the Size of the Active Logs

Mainframe Installation Guide. Version 6.0, November 2003

Syzygy Incorporated. SyzAUTO/z Version 7. [Version 7] October 10, [Installation and User s Guide] SyzAUTO/z - Installation and User s Guide

z/os CSI International 8120 State Route 138 Williamsport, OH

Testing and Debugging Your Installation s ACS Routines

IBM. Documentation. IBM Sterling Connect:Direct Process Language. Version 5.3

CustomPac FTPCSI Utility User Guide

Redpaper. HFS to zfs Migration Tool. Front cover. ibm.com/redbooks. Installing the migration tool. Using the migration tool. Migration tool REXX execs

With Tivoli Advanced Catalog

INTRODUCTION. José Luis Calva 1. José Luis Calva Martínez

Workload Characterization Algorithms for DASD Storage Subsystems 1

z/os Basics: Migrating from HFS to zfs and things to watch out for

DFSMS Basics: Data Set Fundamentals Get to Know Your Data Sets!

eft213 NetEx/eFT for IBM z/os Systems Release Memo To Users June 2018 MTU-eFT213-R5.4.7

In mainframe environment, programs can be executed in batch and online modes. JCL is used for submitting a program for execution in batch mode.

1) How many unique operating systems are available on IBM Z hardware? Answer Choice A58_

//PSWDGEN EXEC PGM=RAIPWG //STEPLIB DD DISP=SHR,DSN=&RAILOAD //SYSTSPRT DD SYSOUT=* //SYSIN DD

Appendix B WORKSHOP. SYS-ED/ Computer Education Techniques, Inc.

Version 9 Release 1. IBM InfoSphere Guardium S-TAP for IMS on z/os V9.1 User's Guide IBM

JCL Utilities. A Access Method Services... 4:8 Alternate Indexes and Paths... 4:5 AMS Commands... 4:8 anyname DD Statement... 9:5

ASG-Rochade Installation Notes

Micro Focus. Data Express. Requirements and Installation Procedures

MFT Platform Server for z/os Release Notes

Data Center Management Systems

TSO/ISPF TIPS By:

Implementing and Using Extended-Addressing Volumes (EAV)

Chapter 1 RUNNING A SIMPLE JOB. SYS-ED/ Computer Education Techniques, Inc.

VSAM Management. Overview. z/os. CSI International 8120 State Route 138 Williamsport, OH

IBM InfoSphere Optim for z/os Version 7 Release 2. Batch Utilities

z/osmf User Experience - z/osmf in a Sysplex

Data Extraction Program CP3KEXTR v /09/18. For zbna, zcp3000, and zpcr

IBM. DFSMS Implementing System-Managed Storage. z/os. Version 2 Release 3 SC

JRH DB2I2 for DB2 OS/390 & zos

IBM System z Fast Track

Mainframe Developer NO.2/29, South Dhandapani St, Burkit road, T.nagar, Chennai-17. Telephone: Website:

2010/04/19 11:38. Describing a unique product that shows the mainframe in a completely different way.

Introduction to VSAM. Session Presented by Michael E. Friske

IBM Education Assistance for z/os V2R1

OM OMCS/z Web Server INSTALLATION & OPERATION GUIDE. OMCS/z Web Server Version 1.0

A-LOG. User s Manual. Version 3.8

Mainstar : Backup & Recovery Manager Suite

Version 1 Release 2. IBM IMS Cloning Tool User's Guide IBM SC

Updates that apply to IBM DB2 Analytics Accelerator Loader for z/os V2R1 User's Guide (SC )

Chapter 13. Synchronizing secondary index databases with a DEDB with FPA

IBM Education Assistance for z/os V2R1

VSAM Overview. Michael E. Friske Fidelity Investments. Session 11681

Installation Instructions for SAS 9.4 Installation Kit for FTP Format on z /OS

Compute (Bridgend) Ltd

IBM. User s Guide. NetView File Transfer Program Version 2 for MVS. Release 2.1 SH

BEA MessageQ. MVS Client User s Guide

IOF Job Archival Made Simple (IOF/JAMS)

Mainframe Developer & Admin Training in Chennai

Db2 for z/os Early experiences using Transparent Data Set Encryption

Using PDSEs in your SYSPLEX: Best Practices and Troubleshooting

IBM Transaction Analysis Workbench for z/os. Lab

Transcription:

Dino Explorer MVS Data Collector for Mainframe Assessment

Index of contents 1 - Introduction...3 2 - The Installation Guide...4 2.1 Step 1 Copy the dxplload.xmit to MVS...4 2.2 Step 2 Receive XMIT file...6 3 - Running the Data Collectors...8 3.1 DXPLSMF - SMF Extractor...8 3.2 DXCOLET DCOLLECT Extractor...11 3.3 - Downloading the CSV files...12 MVS Data Collector for Mainframe Assessment v 3.1.2 2

1 - Introduction This document summarize the procedures for the installation and the execution of the data collectors utilities to gather the required data from MVS systems to be used on the Mainframe Assessment. The data collector utilities are part of the Dino Explorer Suite, and detailed information can be found on the Dino Explorer MVS Installation Guide manual. Currently, we use the following data: Data Source Collector utility SMF 14/15 (DS) SMF dump DXPLSMF SMF 30 (CPU) SMF dump DXPLSMF SMF 42.6 (SMF) SMF dump DXPLSMF SMF 64 (VSAM) SMF dump DXPLSMF RMF 70.1 (CEC) SMF dump DXPLSMF RMF 73 (CHPID) SMF dump DXPLSMF RMF 74.1 (DEVICE) SMF dump DXPLSMF RMF 74.5 (CACHE) SMF dump DXPLSMF RMF 78.3 (LCU) SMF dump DXPLSMF DCOLLECT Volume (V) records IDCAMS DXCOLET The installation process is very simple, consisting of the upload of a load-library in XMIT format (DXPL.V400.DXPLLOAD.XMIT). This process is described on the Chapter 2. The collector utilities generate a single output file in text format (CSV), that should be downloaded from the mainframe in text mode (ASCII) or if you prefer, you can compact the file with TRSMAIN (terse) and transfer the tersed file in binary mode (BIN). Please refer to Chapter 3 for instructions. The DXPLSMF can read your SMF tapes directly and you can generate as many output CSV files as is convenient to you. MVS Data Collector for Mainframe Assessment v 3.1.2 3

2 - The Installation Guide To install the DXPLLOAD library on the mainframe you need just execute these two steps: Step Description of SMF Collector installation 1 Copy the dxplload in XMIT format to MVS 2 Receive the dxplload to restore to library format (PDSE) The only dataset the product requires is the load library that we refer as: DXPL.V400.DXPLLOAD 2.1 Step 1 Copy the dxplload.xmit to MVS You receive the dxplload in a XMIT format that is a special format used by IBM to transfer files between systems. The file is DXPL.V400.DXPLLOAD.XMIT Pre-allocate the XMIT file on MVS The easiest way to deal with XMIT files is pre-allocating the file in the MVS before transferring the XMIT file because you do not have to enter any DCB information on the FTP command. So, we pre-allocate a XMIT file on the mainframe: Data Set Information Data Set Name... : DXPL.V400.DXPLLOAD.XMIT General Data Current Allocation Volume serial... : D4BEAR Allocated cylinders : 1 Device type.... : 3390 Allocated extents. : 1 Organization... : PS Record format... : FB Record length... : 80 Block size.... : 3120 Current Utilization 1st extent cylinders: 5 Used cylinders.. : 0 Secondary cylinders : 1 Used extents... : 0 Transfer the XMIT to MVS You can use FTP to copy the dxplload.xmit to the dataset you have just allocated. Do not forget to set binary mode (bin). Open a command prompt on the windows (cmd.exe) and type the following 1 Go to the directory where the xmit file are: C:\>cd \temp C:\temp> MVS Data Collector for Mainframe Assessment v 3.1.2 4

2 Connect to the mainframe FTP and supply an user ID and password as requested: C:\temp>ftp 10.5.0.2 Connected to 10.5.0.2. 220-FTPD1 IBM FTP CS V2R10 at S390.dino.br, 11:43:19 on 2008-02-21. 220 Connection will close if idle for more than 5 minutes. User (10.5.0.2:(none)): 3 Change to root (cd..) and set binary mode (bin) entering the commands: ftp> cd.. 250 "" is the working directory name prefix. ftp> bin 200 Representation type is Image ftp> 4 Transmit the xmit file: ftp> put DXPL.V400.DXPLLOAD.XMIT 200 Port request OK. 125 Storing data set DXPL.V400.DXPLLOAD.XMIT 250 Transfer completed successfully. ftp: 1988000 bytes sent in 9,40Seconds 211,51Kbytes/sec. ftp> MVS Data Collector for Mainframe Assessment v 3.1.2 5

2.2 Step 2 Receive XMIT file Once you have transferred the dxplload in XMIT format to the MVS, we need to convert it to the library format using the TSO RECEIVE command. It is advisable to pre-allocate the dxplload library in a permanent disk (not work) before issuing the RECEIVE command. Pre-allocate the dxplload library You can pre-allocate the dxplload using the following parameters: Allocate New Data Set Data Set Name... : DXPL.V400.DXPLLOAD More: Management class... (Blank for default management class) Storage class.... (Blank for default storage class) Volume serial.... D4BEAR (Blank for system default volume) ** Device type..... (Generic unit or device address) ** Data class...... (Blank for default data class) Space units..... CYLINDER (BLKS, TRKS, CYLS, KB, MB, BYTES or RECORDS) Average record unit (M, K, or U) Primary quantity.. 5 (In above units) Secondary quantity 5 (In above units) Directory blocks.. 0 (Zero for sequential data set) * Record format.... U Record length.... 0 Block size..... 27000 Data set name type : LIBRARY (LIBRARY, HFS, PDS, or blank) * (YY/MM/DD, YYYY/MM/DD Expiration date... YY.DDD, YYYY.DDD in Julian form Receive the dxplload Now, we can receive the dxplload, i.e. to convert from XMIT format to the load library format on the pre-allocated library: On the TSO command on the ISPF (6 Command): RECEIVE INDA('DXPL.V400.DXPLLOAD.XMIT') INMR901I Dataset DXPL.V400.DXPLLOAD from GAZOLA on NODENAME INMR154I The incoming data set is a 'PROGRAM LIBRARY'. INMR906A Enter restore parameters or 'DELETE' or 'END' + MVS Data Collector for Mainframe Assessment v 3.1.2 6

If you leave the dsname of the dxplload as the original: DXPL.V400.DXPLLOAD, you just need press <enter> to confirm the command. Otherwise you enter the new name as bellow: DA( NEWNAME.DXPLLOAD ) INMR045I Dataset 'DXPL.V400.DXPLLOAD' already exists. Reply 'R' to replace identically named members. + *** Enter R and <enter> to confirm the replace because the dxplload was already pre-allocated: IGW01551I MEMBER DXPLCCMD HAS BEEN LOADED IGW01551I MEMBER DXPLDASD HAS BEEN LOADED IGW01551I MEMBER DXPLDINO HAS BEEN LOADED IGW01551I MEMBER DXPLSMF HAS BEEN LOADED IGW01551I MEMBER DXPLSSI HAS BEEN LOADED IGW01551I MEMBER DXPLTCP HAS BEEN LOADED IGW01551I MEMBER PARMSMF HAS BEEN LOADED IGW01550I 7 OF 7 MEMBERS WERE LOADED IEB147I END OF JOB - 0 WAS HIGHEST SEVERITY CODE INMR001I Restore successful to dataset 'DXPL.V400.DXPLLOAD' *** MVS Data Collector for Mainframe Assessment v 3.1.2 7

3 - Running the Data Collectors This part explains how to run the data collector utilities. 3.1 DXPLSMF - SMF Extractor The DXPLSMF utility reads a SMF dump file and extracts the relevant information from the SMF records and written the output on a text file in CSV format, the CSVOUT ddname. SMF records The following table describe the records required by each product: Option Product SMF records CACHE DASD Explorer Type 74 subtype 5 - CACHE Activity CAT Dataset Explorer Type 61 - ICF Define Activity Type 65 - ICF Delete Activity Type 66 - ICF Alter Activity CEC CPU Explorer Type 70 subtype 1 - RMF Processor Activity CHPID DASD Explorer Type 73 - RMF CHANNEL PATH Activity CPU CPU Explorer Type 30 subtypes 1 to 6 DEVICE DASD Explorer Type 74 subtype 1 - RMF DEVICE Activity DS Dataset Explorer Type 14 Non-VSAM input dataset Type 15 Non-VSAM output dataset IO IO Explorer Type 30 subtype 4 Step termination LCU DASD Explorer Type 78 subtype 3 - RMF I/O QUEUEING Activity SMS Dataset Explorer Type 42 subtype 6 - SMS I/O statistics VS Dataset Explorer Type 64 VSAM close MVS Data Collector for Mainframe Assessment v 3.1.2 8

JCL The following JCL can be used to collect the SMF data: //DXPLSMF JOB MSGLEVEL=(1,1),NOTIFY=&SYSUID //DXPLSMF EXEC PGM=DXPLSMF //STEPLIB DD DISP=SHR,DSN=DXPL.V400.DXPLLOAD //SMFIN DD DISP=SHR,DSN=smf.dump.file //CSVOUT DD DSN=dxpl.csvout,UNIT=SYSALLDA, // DISP=(NEW,CATLG),VOL=SER=volser, // SPACE=(CYL,(100,50),RLSE) //SYSPRINT DD SYSOUT=* //DXPLIN DD * PROD CACHE PROD CEC PROD CPU PROD CHPID PROD DEVICE PROD DS PROD LCU PROD VSAM The DXPLSMF read the dump SMF file informed on the SMFIN DD and write the selected records on the CSVOUT dataset. The CSV output files have the following format: MVS Data Collector for Mainframe Assessment v 3.1.2 9

DXPLIN You can specify some commands on the DXPLIN DD sysin accordingly to the following commands: Command PROD ALL PROD CACHE PROD CAT PROD CEC PROD CHPID PROD CPU PROD DEV PROD DS PROD IO PROD LCU PROD SMS PROD VS START dd/mm/yyyy hh:mm:ss END dd/mm/yyyy hh:mm:ss Description Enable all product options. Collects CACHE activity records. Collects ICF catalogs activity records. Collects RMF processor performance records. Collects RMF Channel activity information. Collects data for the CPU Explorer. Collects RMF device activity records. Collects non-vsam data for the Dataset Explorer Collects data for the IO Explorer. Collects LCU and Hyper-PAV information. Collects SMS Dataset I/O activity records. Collects VSAM data for the Dataset Explorer Collect only data with SMF recording time after the informed date and time. Collect only data with SMF recording date and time before this date and time. MVS Data Collector for Mainframe Assessment v 3.1.2 10

3.2 DXCOLET DCOLLECT Extractor The DXCOLET utility is a batch program to extract information provided by the DFSMS Data Collection Facility (DCOLLECT). The DCOLLECT functions are obtained through the execution of the IDCAMS utility which are described on the DFSMS Access Method Services for Catalogs manual. //DXCOLET JOB MSGLEVEL=(1,1),NOTIFY=&SYSUID //STEP1 EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=A //OUTDS DD DSN=DXPL dcollect.output.file, // DSORG=PS, // DCB=(RECFM=VB,LRECL=644,BLKSIZE=0), // SPACE=(50,(100,100)),AVGREC=K, // DISP=(NEW,CATLG,KEEP) //SYSIN DD * DCOLLECT OFILE(OUTDS) VOLUME(**) NODATAINFO //DXCOLET EXEC PGM=DXCOLET,PARM='VOL,**' //STEPLIB DD DISP=SHR,DSN=DXPL.V400.DXPLLOAD //DCOLIN DD DISP=SHR,DSN=dcollect.output.file //CSVFILE DD DSN=dxpl.csvfile,UNIT=SYSALLDA, // DISP=(NEW,CATLG),VOL=SER=volser, // SPACE=(CYL,(10,50),RLSE) //SYSPRINT DD SYSOUT=* The first step runs the IDCAMS utility to generate the OUTDS dataset with the DCOLLECT volume records that will be read by the second step (DXCOLET) which in turn will write the records on a CSV format on the CSVFILE ddname. The CSVFILE should be transferred in text mode to the open platform. MVS Data Collector for Mainframe Assessment v 3.1.2 11

3.3 - Downloading the CSV files The output of the extractors are text files in CSV format (comma separeted values) and they are processed outside the mainframe on a system running Microsoft Windows. Text files in mainframes are EBCDIC code while on the open platform are ASCII code. Depending on the site, the size of these files may be very large, so it is important to pay attention to the file transfer mode used to avoid retransmissions. We currently support the following transfer mode: Download the CSV files in TEXT mode Terse the CSV files on the mainframe and download them in BINARY mode If you have good file transfer facility, it is better download the files in TEXT mode. You save mainframe CPU cycles. On the other hand, you can compress the file on the mainframe (TERSE), and download a file much smaller. Method 1 - Downloading CSV files The CSV files are transfered to the open platform in TEXT mode, i.e. the CSV file will be converted from mainframe EBCDIC code to ASCII code. This is our prefered method because you can check the file contents any time. On the mainframe it looks like the picture bellow: Note: Do not try to open the CSV file the Windows platform because it may take a long time to open the file. Intead, use the type with the more commands on a CMD command line: C:\>cd \temp C:\temp>type csvfile.csv more and you get an output such as: MVS Data Collector for Mainframe Assessment v 3.1.2 12

After you transfer the file to the open platform, you can zip the files. Method 2 - TERSE the CSV on the mainframe You can compress the CSV files on the mainframe before transfering it to the open platform using the TRSMAIN utility. The following example shows how to TERSE a file on the z/os: //DXTERSE JOB MSGLEVEL=(1,1),NOTIFY=&SYSUID //STEPNAME EXEC PGM=TRSMAIN,PARM='PACK' //SYSPRINT DD SYSOUT=* //INFILE DD DISP=SHR,DSN= dxpl.csvfile //OUTFILE DD DISP=(,CATLG,DELETE),SPACE=(CYL,(100,500),RLSE), // DSN= dxpl.csvfile.trs,vol=ser=volser,unit=3390 Note: You have to transfer the tersed file to the open platform in BINARY mode to preserve its format. MVS Data Collector for Mainframe Assessment v 3.1.2 13