Académique Documents
Professionnel Documents
Culture Documents
Document Organization
Product Version
Getting Help
Contents
MK-92HC207-01
ii
Hitachi Tiered Storage Manager for Mainframe User Guide
Contents
Preface.................................................................................................. xi
Intended audience....................................................................................................xii
Product version........................................................................................................ xii
Release notes...........................................................................................................xii
Document revision level............................................................................................ xii
Document organization............................................................................................. xii
Related documents.................................................................................................. xiv
Document conventions............................................................................................. xv
Conventions for storage capacity values.....................................................................xv
Accessing product documentation............................................................................. xvi
Getting help............................................................................................................ xvi
Comments..............................................................................................................xvii
iii
Hitachi Tiered Storage Manager for Mainframe User Guide
3 Tiered Storage Manager for Mainframe operations when using the ISPF
panel...................................................................................................3-1
iv
Hitachi Tiered Storage Manager for Mainframe User Guide
Creating a tiering policy information CSV file when using the ISPF panel...............3-7
Defining tiering policy groups when using the ISPF panel.................................... 3-8
Applying tiering policies when using the ISPF panel.............................................3-8
Verification after scanning storage systems when using the ISPF panel.......................3-9
Checking volume information for the scanned storage system when using the ISPF
panel............................................................................................................... 3-9
Checking pool information for the scanned storage system when using the ISPF
panel............................................................................................................. 3-11
Verification after defining a tiering policy group when using the ISPF panel...............3-13
Verifying definition information for the tiering policy group when using the ISPF
panel............................................................................................................. 3-14
Verifying storage system information (summary) for the tiering policy group when
using the ISPF panel....................................................................................... 3-15
Checking SMS storage groups belonging to a tiering policy group when using the
ISPF panel......................................................................................................3-16
Verifying volume information for the tiering policy group when using the ISPF panel
..................................................................................................................... 3-17
Verifying pool information for the tiering policy group when using the ISPF panel3-19
Frequently used checking methods when using the ISPF panel.................................3-22
Checking whether the tiering policies are applied to the storage system when using
the ISPF panel................................................................................................3-22
Checking the tier relocation status for volumes when using the ISPF panel......... 3-25
Checking whether the usage of any pool equals or exceeds the threshold when using
the ISPF panel................................................................................................3-26
About changing tiering policy groups when using the ISPF panel.............................. 3-28
Changing a tiering policy when using the ISPF panel......................................... 3-28
Adding a volume to a tiering policy group when using the ISPF panel................. 3-29
Deleting a specific volume from a tiering policy group when using the ISPF panel3-30
Modifying the tiering policy information CSV file when using the ISPF panel........ 3-31
Convenient use of list panels..................................................................................3-31
Sorting items..................................................................................................3-32
Filtering displayed information......................................................................... 3-32
Searching character strings............................................................................. 3-33
Positioning the cursor at a specific line in a sorted field..................................... 3-33
Setting an action in multiple AC fields...............................................................3-34
Customizing the ISPF panels.................................................................................. 3-35
Setting the command line location................................................................... 3-35
Setting the number of displayed function keys.................................................. 3-35
Highlighting available point-and-shoot fields..................................................... 3-35
4 Tiered Storage Manager for Mainframe operations when using the CLI..... 4-1
Defining and verifying a tiering policy group when using the CLI commands............... 4-2
Defining tiering policy groups when using the CLI commands.................................... 4-3
Checking volume information when using the CLI commands.............................. 4-3
Scanning the storage system when using the CLI commands...............................4-5
Creating a tiering policy information CSV file when using the CLI commands........ 4-7
Defining tiering policy groups when using the CLI commands.............................. 4-7
Applying tiering policies when using the CLI commands...................................... 4-9
Verification after defining a tiering policy group when using the CLI commands.........4-11
Verifying tiering policies when using the CLI commands.................................... 4-11
Checking the progress of tier relocation when using the CLI commands..............4-12
Checking volume I/O performance................................................................... 4-14
v
Hitachi Tiered Storage Manager for Mainframe User Guide
About changing tiering policy groups when using the CLI commands........................ 4-15
Changing a tiering policy when using the CLI commands................................... 4-15
Adding a volume to a tiering policy group when using the CLI commands........... 4-15
Deleting a specific volume from a tiering policy group when using the CLI commands
..................................................................................................................... 4-17
vi
Hitachi Tiered Storage Manager for Mainframe User Guide
KTIMPORT..................................................................................................... 6-12
KTLOAD......................................................................................................... 6-14
KTQRYDEV.....................................................................................................6-17
KTQRYRLC..................................................................................................... 6-19
KTQRYTPG..................................................................................................... 6-21
KTQSTATS..................................................................................................... 6-23
KTSCAN......................................................................................................... 6-25
KTSTORE....................................................................................................... 6-28
KTWTOMSG................................................................................................... 6-32
TSO/E command details........................................................................................ 6-34
KTCONMSG.................................................................................................... 6-34
KTENV........................................................................................................... 6-36
KTERCODE.....................................................................................................6-37
KTINSCHK......................................................................................................6-39
KTSLEEP........................................................................................................ 6-41
OS console command details................................................................................. 6-42
KTALCSVC......................................................................................................6-42
KTDSPENV..................................................................................................... 6-43
KTSETENV......................................................................................................6-45
File naming conventions used by Tiered Storage Manager for Mainframe.................... 7-2
Format of datasets used by Tiered Storage Manager for Mainframe............................7-3
Disk space requirements of configuration files...........................................................7-3
Format of tiering policy information CSV files............................................................ 7-4
Descriptive conventions of tiering policy information CSV files..............................7-4
Syntax of tiering policy information CSV files...................................................... 7-4
Configuration example of tiering policy groups and example of specifications in the
corresponding tiering policy information CSV file................................................. 7-8
Examples of changing a tiering policy information CSV file...................................7-9
vii
Hitachi Tiered Storage Manager for Mainframe User Guide
ERRCODE...............................................................................................................B-2
viii
Hitachi Tiered Storage Manager for Mainframe User Guide
FILTER...................................................................................................................B-2
FIND......................................................................................................................B-3
LOCATE................................................................................................................. B-3
RFIND....................................................................................................................B-4
SELECT..................................................................................................................B-4
SORT.....................................................................................................................B-5
How to specify the search or filter conditions in ISPF panels...................................... B-6
C Sample scripts......................................................................................C-1
Glossary
Index
x
Hitachi Tiered Storage Manager for Mainframe User Guide
Preface
This document describes how to install, configure, and use the Hitachi Tiered
Storage Manager for Mainframe.
Hereafter, the above product is simply called Tiered Storage Manager for
Mainframe. In figures, the product is indicated as HTSM for MF.
This preface includes the following information:
Intended audience
Product version
Release notes
Document revision level
Document organization
Related documents
Document conventions
Conventions for storage capacity values
Accessing product documentation
Getting help
Comments
Preface
Hitachi Tiered Storage Manager for Mainframe User Guide
xi
Intended audience
This document is intended for those who:
Want to create a storage system that uses Tiered Storage Manager for
Mainframe, and to operate the system at high performance.
This document is intended for readers who are familiar with the following:
z/OS functionality
Product version
This document revision applies to Hitachi Tiered Storage Manager for
Mainframe version 8.0.0 or later.
Release notes
Read the release notes before installing and using this product. They may
contain requirements or restrictions that are not fully described in this
document or updates or corrections to this document.
Date
Description
MK-92HC207-00
July 2013
Initial Release
MK-92HC207-01
April 2014
Document organization
The following table provides an overview of the contents and organization of
this document. Click the chapter title in the left column to go to that chapter.
The first page of each chapter provides links to the sections in that chapter.
Chapter/Appendix
xii
Description
Preface
Hitachi Tiered Storage Manager for Mainframe User Guide
Chapter/Appendix
Description
Chapter 7, Files used by Tiered Storage Manager Describes the formats of files that are
for Mainframe on page 7-1
used for Tiered Storage Manager for
Mainframe.
Chapter 8, REXX variable structures on page
8-1
Index
Preface
Hitachi Tiered Storage Manager for Mainframe User Guide
xiii
Related documents
xiv
Preface
Hitachi Tiered Storage Manager for Mainframe User Guide
Document conventions
This document uses the following typographic conventions:
Convention
Description
Bold
Italic
Monospace
[ ] square
brackets
{ } braces
| vertical bar
Label
Description
Note
Tip
Caution
WARNING
Value
1,000 (103) bytes
Preface
Hitachi Tiered Storage Manager for Mainframe User Guide
xv
Value
1 megabyte (MB)
1 gigabyte (GB)
1 terabyte (TB)
1 petabyte (PB)
1 exabyte (EB)
Logical storage capacity values (for example, logical device capacity) are
calculated based on the following values:
Logical capacity unit
Value
1 block
512 bytes
1 KB
1 MB
1 GB
1 TB
1 PB
1 EB
Getting help
Hitachi Data Systems Support Portal is the destination for technical support of
your current or previously-sold storage systems, midrange and enterprise
servers, and combined solution offerings. The Hitachi Data Systems customer
support staff is available 24 hours a day, seven days a week. If you need
technical support, log on to the Hitachi Data Systems Support Portal for
contact information: https://portal.hds.com.
Hitachi Data Systems Community is a new global online community for HDS
customers, partners, independent software vendors, employees, and
prospects. It is an open discussion among these groups about the HDS
portfolio of products and services. It is the destination to get answers,
discover insights, and make connections. The HDS Community complements
our existing Support Portal and support services by providing an area where
xvi
Preface
Hitachi Tiered Storage Manager for Mainframe User Guide
you can get answers to non-critical issues and questions. Join the
conversation today! Go to community.hds.com, register, and complete
your profile.
Comments
Please send us your comments on this document: doc.comments@hds.com.
Include the document title and number, including the revision level (for
example, -07), and refer to specific sections and paragraphs whenever
possible. All comments become the property of Hitachi Data Systems
Corporation.
Thank you!
Preface
Hitachi Tiered Storage Manager for Mainframe User Guide
xvii
xviii
Preface
Hitachi Tiered Storage Manager for Mainframe User Guide
1
Overview of Hitachi Tiered Storage
Manager for Mainframe
This chapter provides an overview of Tiered Storage Manager for Mainframe.
About Tiered Storage Manager for Mainframe
Overview of the Tiered Storage Manager for Mainframe functionality
Concepts of terms used in Tiered Storage Manager for Mainframe
Prerequisites for Tiered Storage Manager for Mainframe
System configuration of Tiered Storage Manager for Mainframe
About files used by Tiered Storage Manager for Mainframe
Workflow for using Tiered Storage Manager for Mainframe
1-1
Figure 1-1 Automatic data relocation across tiers according to the access
frequency
After considering the performance requirements for certain data, if you want
to locate the data in a tier appropriate for the requirements, you can directly
specify the tier in which the data is to be located. For example, you can
locate data that is not accessed frequently but requires quick response in an
upper tier.
1-2
1-3
Figure 1-3 Tier management using Tiered Storage Manager for Mainframe
1-4
Tip: There are two methods of operation for Tiered Storage Manager for
Mainframe using ISPF panels and using CLI commands. Use the method that
suits the state of operation.
Related topics
1-5
1-6
Related topics
1-7
Figure 1-6 When the tiering policy level of 1 is specified for a three-tier
volume
If the tiering policy level of 2 is specified for a volume that has three tiers,
pages are moved between tiers 1 and 2 according to the access frequency, as
shown in the figure below. After pages are moved, these pages are moved
between tiers 1 and 2 according to the access frequency each time tier
relocation is performed.
Figure 1-7 When the tiering policy level of 2 is specified for a three-tier
volume
The following shows the relationship between tiering policy levels and the
tiers in which data will be located.
1-8
Table 1-1 Relationship between tiering policy levels and tiers in which
data will be located
Tiering policy
level
2-tier configuration
Tier 1
Tier 1
Tiers 1 and 2
Tier 2
Tiers 2 and 3
Tier 3
Tier 2
Note:
The smaller the tier number, the higher the tier. For example, if an SSD
device and an SAS device make up a tiered volume, the SSD device is
Tier 1, and the SAS device is Tier 2.
1-9
Table 1-2 Values that can be used to specify the new-page assignment tier
Value
HIGH
Description
The new page is assigned from the higher tier of tiers set in the tiering policy.
MIDDLE The new page is assigned from the middle tier of tiers set in the tiering policy.
LOW
The new page is assigned from the lower tier of tiers set in the tiering policy.
For example, if newer data is accessed more frequently and older data is
accessed less frequently, you can specify HIGH for the new-page assignment
tier because new pages are then assigned in order starting from the upper
tier.
Related topics
Prerequisite OS
z/OS from V1R10 through V2R1
Caution: VM environments are not supported by Tiered Storage Manager for
Mainframe.
Prerequisite hardware
VSP Dynamic Tiering for Mainframe volumes
Caution: The following volumes are not supported:
Prerequisite programs
1-10
1-11
The disk configuration definition file and tiering policy group definition file are
generically called configuration files.
1-12
Figure 1-10 Workflow for files used in Tiered Storage Manager for
Mainframe
1.
2.
3.
4.
Apply the tiering policies of the defined tiering policy group to the storage
system.
The pages will be relocated according to the defined tiering policies when
tier relocation is performed the next time.
1-13
Figure 1-11 workflow for using Tiered Storage Manager for Mainframe
Related topics
1-14
Workflow for when defining and checking tiering policy groups when using
the ISPF panel on page 3-2
Defining and verifying a tiering policy group when using the CLI
commands on page 4-2
2
Installation and setup
This chapter describes procedures for installing and setting up Tiered Storage
Manager for Mainframe.
Overview of installation and setup
Installing Tiered Storage Manager for Mainframe
Settings required for using CLI commands (registration for
authentication)
Setting RACF security for CLI commands
Settings for using environment configuration commands
Registering a user SVC
Setting the operating environment for Tiered Storage Manager for
Mainframe (setting environment variables or system symbols)
Settings required to use Tiered Storage Manager for Mainframe on the
ISPF panel
Registering licenses
Verifying the setup information
Preparing to use Tiered Storage Manager for Mainframe
Notes on setting up Tiered Storage Manager for Mainframe when Business
Continuity Manager is already installed
2-1
Prerequisite user SVC versions for Tiered Storage Manager for Mainframe
Notes for when multiple versions of Tiered Storage Manager for
Mainframe coexist
2-2
2-3
If you are not using SMP/E for the installation, you do not need to create
a backup in the distribution library.
Related topics
2-4
Figure 2-2 Workflow for during installation of Tiered Storage Manager for
Mainframe
Related topics
Installing directly from the provided datasets in the target library on page
2-9
2-5
Figure 2-3 Procedure for transferring the load module for Tiered Storage
Manager for Mainframe to a host machine
The numbers in the figure correspond to the steps below.
Procedure
1.
2.
2-6
ALLOUPLD
RECVUPLD
3.
4.
5.
Transfer the Tiered Storage Manager for Mainframe object archives from
the PC to the mainframe host.
In binary mode, transfer the Tiered Storage Manager for Mainframe
object archives from the PC to the sequential datasets (created in step 4)
on the mainframe host.
6.
The files provided on the installation media are shown in the following table.
File name
Description
HITACHI.CHKTnnn.SMPMCS.XMIT
HITACHI.CHKTnnn.F1.XMIT
HITACHI.CHKTnnn.F2.XMIT
HITACHI.CHKTnnn.F3.XMIT
HITACHI.CHKTnnn.F4.XMIT
HITACHI.CHKTnnn.F5.XMIT
HITACHI.CHKTnnn.F6.XMIT
HITACHI.CHKTnnn.F7.XMIT
HITACHI.CHKTnnn.F8.XMIT
10
HITACHI.CHKTnnn.F9.XMIT
11
ALLOUPLD
12
RECVUPLD
Note:
2-7
The nnn part of CHKTnnn in the table varies depending on the version.
Postrequisites
Perform either of the following:
Related topics
Installing directly from the provided datasets in the target library on page
2-9
Procedure
1.
Edit the following sample JCLs that will be used for installation in
accordance with the user installation environment.
Execute SMPALLOC.
Allocate the SMP/E control dataset as necessary. If an existing SMP/E
control dataset is to be used, skip this step.
3.
Execute HDSKT1AL.
The target library and distribution library (DLIB) are allocated.
4.
Execute HDSKT2DF.
SMP/E DDDEF is executed, and the target library and distribution library
(DLIB) are defined.
5.
2-8
Execute HDSKT3RC.
SMP/E RECEIVE is executed, and the provided datasets are obtained and
stored in the global zone.
6.
Execute HDSKT4AP.
Perform the check operation for installing the provided datasets in the
target library. (The CHECK operand has been specified for the APPLY
command of the sample JCL.) If no errors occur (the execution completes
with a return code of 0), go on to the next step.
7.
8.
Run the Tiered Storage Manager for Mainframe instance that was installed in
the target library. If no errors occur, back up Tiered Storage Manager for
Mainframe to the distribution library.
The following table shows the keyword (FMID) that is required for installing
with SMP/E.
Table 2-2 FMID for Tiered Storage Manager for Mainframe components
FMID
Function name
Hitachi Tiered Storage Manager for Mainframe
CHKTnnn
Note:
The nnn part of CHKTnnn varies depending on the version.
Postrequisites
Related topics
Procedure
1.
Edit the sample JCL HDSKTSIN for installation in accordance with the user
installation environment.
2-9
Execute HDSKTSIN.
The contents of the provided datasets are registered in the target library.
Postrequisites
Related topics
DSORG
LRECL
(bytes)
RECFM
BLKSIZE
(bytes)
PO
FB
80
6,160
PO
6,144
PO
6,144
PO
FB
80
6,160
PO
FB
80
6,160
PO
VB
255
6,120
PO
FB
80
6,160
(HDSKSAMT)
Load library for LINKLIB
(HDSKLNKT)
Load library for LPALIB
(HDSKLPAT)
Cataloged procedure library
(HDSKPRCT)
REXX Exec library, fixed length
format
(HDSKEXET)
REXX Exec library, variable
length format
(HDSKEXVT)
ISPF panel library
2-10
DSORG
RECFM
LRECL
(bytes)
BLKSIZE
(bytes)
(HDSKPNLT)
ISPF message library
PO
FB
80
6,160
PO
FB
80
6,160
(HDSKMSGT)
ISPF table library
(HDSKTABT)
#
The DD name specified with the HDSKT1AL sample JCL (allocates the
distribution and target libraries) that was used when installing with
SMP/E. The dataset name is the one specified in each DD statement.
Procedure
1.
Static method: Specify the load library for LINKLIB HDSKLNKT in the
PROGxx parmlib member as a dataset concatenated to the LNKLST.
To enable concatenation, you must perform an IPL again.
Dynamic method: Use the SETPROG LNKLST command to concatenate
the load library for LINKLIB HDSKLNKT to the LNKLST.
If you cannot perform an IPL because the system is running, use this
method to concatenate the load library. However, because performing
an IPL will invalidate concatenation, modify parmlib as defined in the
static method, above so the change will continue across an IPL.
2.
Register the load library for LINKLIB HDSKLNKT for APF authorization.
You can register by using either of the following methods:
Static method: Add the load library for LINKLIB HDSKLNKT to the
PROGxx parmlib member as a dataset to be authorized as APF.
To enable registration, you must perform an IPL again.
2-11
For details about the SETPROG command, see the manual MVS System
Commands.
Postrequisites
Related topics
2-12
Procedure
1.
2.
3.
4.
Apply all jobs that are being executed to the temporary LNKLST
(LNKLST99).
SETPROG LNKLST,UPDATE,JOB=*
5.
6.
7.
Re-apply all jobs that are being executed to the original LNKLST
(LNKLST00).
SETPROG LNKLST,UPDATE,JOB=*
8.
For details on the SETPROG command, see the manual MVS System
Commands.
Procedure
1.
STGADMIN.YKA.DKT.COMMANDS
KTACTTPG
(Operation profile)
KTDCTDEV
KTDCTTPG
KTIMPORT
2-13
STGADMIN.YKA.DKT.KTQUERY
KTIMPORT
(Reference profile)
KTQRYDEV
KTQRYRLC
KTQRYTPG
KTQSTATS
KTSCAN
2.
For details about how to define RACF profiles and how to assign user
permissions to access the profiles, see the Security Server RACF Security
Administrator's Guide.
Tip: Users can use the following commands without access permissions:
KTCONMSG, KTENV, KTERCODE, KTGETHDA, KTINSCHK, KTLOAD, KTSLEEP,
KTSTORE, KTWTOMSG
Postrequisites
Related topics
Prerequisites
2-14
Procedure
1.
Postrequisites
Related topics
2-15
Prerequisites
Procedure
1.
Choose an unused SVC number between 200 and 255 to assign to the
user SVC.
2.
Tip: The user SVC registered with the KTALCSVC command is invalidated if an
IPL is performed again. Perform either of the following in case you need to
perform an IPL again the next time:
Define the user SVC in the IEASVCxx parmlib member, and use the
statically-registered user SVC from the next time an IPL is performed
again.
Specification examples
START KTALCSVC
If you used the KTALCSVC command to register a user SVC while Tiered
Storage Manager for Mainframe was running, the execution of the CLI
command continues to use the user SVC defined by the IEASVCxx parmlib
member. The registered user SVC will take effect the next time a CLI
command is executed.
User SVCs are shared between Tiered Storage Manager for Mainframe,
and Business Continuity Manager. Therefore, you must be careful when
registering a user SVC if you install Tiered Storage Manager for
Mainframe for the first time in an environment where Business Continuity
Manager is installed.
Postrequisites
Related topics
2-16
Procedure
1.
Choose an unused number between 200 and 255 to be assigned for the
user SVC.
2.
SYMDEF(&YKSVCNO='SVC-number')
For details, see the manual MVS Initialization and Tuning Reference.
3.
4.
Define the load library for LPALIB HDSKLPAT in the LPALSTxx parmlib
member. For details, see the manual MVS Initialization and Tuning
Reference.
Use the SETPROG LPA command to dynamically concatenate the load
library for LPALIB HDSKLPAT to LPALST. For details, see the manual
MVS System Commands.
SVCPARM SVC-number,REPLACE,TYPE(3),EPNAME(JYUASVC),APF(NO),NPRMPT(NO),AR(NO)
For details, see the manual MVS Initialization and Tuning Reference.
To enable registration, you must perform an IPL again with the CLPA
parameter specified.
Caution: User SVCs are shared between Tiered Storage Manager for
Mainframe, and Business Continuity Manager. Therefore, you must be careful
when registering a user SVC if you install Tiered Storage Manager for
Mainframe for the first time in an environment where Business Continuity
Manager is installed.
Postrequisites
2-17
Related topics
The prefix of the license information dataset that registers the license key
Set the operating environment settings for Tiered Storage Manager for
Mainframe by using either of the following methods:
Use the system symbol (set for the IEASYMxx parmlib member).
To enable this setting, you must perform an IPL again. The staticallyregistered settings can be used the next time an IPL is performed again.
Related topics
2-18
Environm
ent
variable
System
symbols
prefix-1
YKLCNSE
&YKLCNSE
prefix-2
YKLCNS2
LOGPUT
SYSLOG
Specified
values
Default
values
HITACHI
&YKLCNS2
8 or fewer
alphanumeric
characters
&YKLOGPT
LOGR: Used
LOGR
None
YES: Output
to SYSLOG
YES
CONSOLE:
Output to the
console
NO: Not
output
#:
The name of a license information dataset is decided as follows:
prefix-1.prefix-2.CCENTRAL.LICENSE
2.
3.
Default values
The prefix of the license information dataset that registers the license key
2-19
Prerequisites
Procedure
1.
2.
When specifying whether to use the system logger service to collect event
logs
START KTSETENV,PARM='LOGPUT=LOGR' (if using the system logger
service)
START KTSETENV,PARM='LOGPUT=SAM' (if not using the system logger
service)
For the IEASYMxx parmlib member, specify the system symbols so that
the statically-registered settings will be used the next time an IPL is
performed.
Tip: Use either the environment variables or the system symbols to specify
both prefix-1 and prefix-2. If you use the environment variable to specify
prefix-1 and use the system symbol to specify prefix-2, the process of
determining the prefixes will be complicated.
2-20
Tip: The license (name of the license information dataset) for Tiered Storage
Manager for Mainframe takes effect when the KTLOAD command is first
executed after the license is registered. Even if you used the KTSETENV
command to modify a prefix of the license information dataset name while
CLI commands were being executed, the corresponding license takes effect
after the KTLOAD command is executed the next time.
Caution: Environment variables are shared by Tiered Storage Manager for
Mainframe and Business Continuity Manager. Therefore, you must be careful
when setting the environment variables in an environment where Business
Continuity Manager is installed.
Postrequisites
Related topics
The prefix of the license information dataset that registers the license key
Procedure
1.
2.
2-21
When specifying whether to use the system logger service to collect event
logs
SYMDEF(&YKLOGPT='LOGR') (if using the system logger service)
SYMDEF(&YKLOGPT='SAM') (if not using the system logger service)
Tip: Use either the environment variables or the system symbols to specify
both prefix-1 and prefix-2. If you use the environment variables to specify
prefix-1, and use the system symbols to specify prefix-2, the process of
determining the prefixes will be complicated.
Caution: System symbols are shared by Tiered Storage Manager for
Mainframe and Business Continuity Manager. Therefore, you must be careful
when setting system symbols in an environment where Business Continuity
Manager is installed.
Postrequisites
Related topics
2-22
Procedure
1.
2.
3.
4.
When you log on to ISPF (if you have already logged on, you must log on
again), you can start the KTSTART command by selecting option 6 Command
in the ISPF Primary Option Menu panel.
Caution: To concatenate a dataset to libraries, make sure that the attributes
of the target libraries are the same as the attributes of the dataset. For
2-23
example, if the dataset attributes are DSORG=PO and RECFM=FB, the LRECL
setting must be the same among the datasets. For details, see the DFSMS:
Using Data Sets. For details about how to change dataset attributes, see the
description of IEBGENER and IEBCOPY in the DFSMSdfp Utilities.
Postrequisites
Registering a licenses
Related topics
Procedure
Caution:
2-24
ISPEXEC;
ISPMLIB DATASET ID('HDSKT.Vnnnnnn.HDSKMSGT') STACK";
ISPPLIB DATASET ID('HDSKT.Vnnnnnn.HDSKPNLT') STACK";
ISPTLIB DATASET ID('HDSKT.Vnnnnnn.HDSKTABT') STACK";
Postrequisites
Registering a licenses
Related topics
Registering licenses
To use Tiered Storage Manager for Mainframe, you must register a license for
it.
2-25
Related topics
Prerequisites
Procedure
1.
2-26
2.
3.
Assign the following access permissions for users who use the license
information dataset.
Note: Do not edit or delete the license information dataset after the license
key is installed. If you do so, Tiered Storage Manager for Mainframe cannot
be used.
Postrequisites
Registering a license
Related topics
2-27
Figure 2-5 Procedure for registering a license by using a license key file
Prerequisites
Procedure
1.
Create a license key dataset for transferring a license key file to z/OS.
Create the license key dataset with the following attributes:
2.
ASCII mode
2-28
3.
4.
Enter KTSTART.
The main panel for Tiered Storage Manager for Mainframe appears.
When you display the main panel for Tiered Storage Manager for
Mainframe for the first time, the Edit Defaults panel appears. Use this
panel to specify basic information for the ISPF panels.
5.
6.
7.
8.
Use the License List in the Manage Licenses panel to confirm that the
license has been installed correctly.
Postrequisites
Related topics
2-29
Prerequisites
Procedure
1.
2.
Enter KTSTART.
The main panel for Tiered Storage Manager for Mainframe appears.
When you display the main panel for Tiered Storage Manager for
Mainframe for the first time, the Edit Defaults panel appears. Use this
panel to specify basic information for the ISPF panels.
3.
4.
5.
In the Manage Licenses panel, enter the key code in the Key Code
field, and then press Enter.
Tip: If you enter the keycode for Business Continuity Manager in this
panel, the license key for Business Continuity Manager is also installed.
The Licenses Message List panel appears.
The KTA001I message is output if the license key is installed correctly.
The key code you entered is installed as the license key in the license
information dataset.
2-30
6.
Use the License List in the Manage Licenses panel to confirm that the
license has been installed correctly.
Postrequisites
Related topics
View permission required for using CLI commands has been assigned to
the reference and operation profiles.
Procedure
1.
2.
If the return code is 8, perform the task that has not been completed.
If the return code of the KTINSCHK command is 8, there is a problem with
the information specified during setup. Check the command execution
results and perform the task that has not been completed.
JCL example
The following shows an example of a JCL used to output the execution results
of the KTINSCHK command to SYSTSPRT DD name.
2-31
//KTINSCHK JOB
//IEFPROC EXEC PGM=IKJEFT01,TIME=1440,REGION=4096K
//SYSTSPRT DD SYSOUT=*
//SYSABEND DD SYSOUT=A
//STEPLIB DD DSN=HTC1.KT.Vvvrr.LINKLIB,DISP=SHR
//SYSTSIN DD *
KTINSCHK
/*
//
For details about the example of the command output, see the description of
the KTINSCHK command.
Postrequisites
Related topics
Procedure
To output event logs to the log stream by using the system logger service,
perform all the sysplex setup procedures for using the DASD-only log stream
for the system logger service described in the MVS Setting Up a Sysplex.
2-32
To output event logs to the Tiered Storage Manager for Mainframe log
dataset without using the system logger service, create a log dataset before
executing a CLI command.
For details about event logs, see the description about collecting event logs.
Related topics
Collecting event logs by using the system logger service on page 9-5
Collecting event logs without using the system logger service on page
9-16
Procedure
1.
Modify the following sample JCL in accordance with the user installation
environment.
HDSKT5AC
Execute HDSKT5AC.
Perform the checking that is required for backing up the provided
datasets to the distribution library. (The CHECK operand has been
specified for the ACCEPT command.) If no errors occur (the execution
completes with a return code of 0), go on to the next step.
3.
4.
Attributes of the distribution libraries (DLIB) are shown in the following table.
DSORG
PO
RECFM
FB
LRECL
(bytes)
80
BLKSIZE
(bytes)
6,160
2-33
DSORG
LRECL
(bytes)
RECFM
BLKSIZE
(bytes)
(HDSKSAMD)
Load library for LINKLIB
PO
6,144
PO
6,144
PO
FB
80
6,160
PO
FB
80
6,160
PO
VB
255
6,120
PO
FB
80
6,160
PO
FB
80
6,160
PO
FB
80
6,160
(HDSKLNKD)
Load library for LPALIB
(HDSKLPAD)
Cataloged procedure library
(HDSKPRCD)
REXX Exec library, fixed length
format
(HDSKEXED)
REXX Exec library, variable
length format
(HDSKEXVD)
ISPF panel library
(HDSKPNLD)
ISPF message library
(HDSKMSGD)
ISPF table library
(HDSKTABD)
#
The DD name specified with the HDSKT1AL sample JCL (allocates the
distribution and target libraries) that was used when installing with
SMP/E. The dataset name is the one specified in each DD statement.
Related topics
2-34
If the confirmed user SVC version is old and does not satisfy conditions
for the prerequisite user SVC version requirement of Tiered Storage
Manager for Mainframe:
Use Business Continuity Manager to delete the user SVC, and then use
Tiered Storage Manager for Mainframe to register it again.
If the confirmed user SVC version satisfies conditions for the prerequisite
user SVC version:
You can use the currently enabled user SVC as it is.
Tip:
For details on how to delete the user SVC in Business Continuity Manager,
see the Hitachi Business Continuity Manager Installation Guide.
This procedure lets you install Tiered Storage Manager for Mainframe for
the first time. If you need to upgrade Tiered Storage Manager for
Mainframe, refer to the instructions for preparing for the upgrade.
Related topics
Prerequisite user SVC versions for Tiered Storage Manager for Mainframe
on page 2-36
2-35
Change the operating environment setting values very carefully if you need to
change them.
Tip: To check the currently enabled operating environment setting values, do
the following:
If Tiered Storage Manager for Mainframe has not been installed (when
you install it for the first time)
Use the YKDSPENV command to do the check. For details on the YKDSPENV
command, see the Hitachi Business Continuity Manager Reference Guide.
Related topics
Table 2-7 Prerequisite user SVC versions for Tiered Storage Manager for
Mainframe
Tiered Storage Manager for Mainframe version
7.5.0
8.0.0
2-36
2-37
2-38
3
Tiered Storage Manager for Mainframe
operations when using the ISPF panel
This chapter describes how to use the ISPF panels to operate Tiered Storage
Manager for Mainframe.
Operation description method for the ISPF panels
Workflow for when defining and checking tiering policy groups when using
the ISPF panel
Starting Tiered Storage Manager for Mainframe and displaying the main
panel
Basic ISPF panel settings of Tiered Storage Manager for Mainframe
Defining tiering policy groups when using the ISPF panel
Verification after scanning storage systems when using the ISPF panel
Verification after defining a tiering policy group when using the ISPF panel
Frequently used checking methods when using the ISPF panel
About changing tiering policy groups when using the ISPF panel
Convenient use of list panels
Customizing the ISPF panels
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-1
3-2
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Figure 3-1 Procedure for defining and verifying a tiering policy group
(ISPF panels)
Related topics
Scanning storage systems when using the ISPF panel on page 3-5
Creating a tiering policy information CSV file when using the ISPF panel
on page 3-7
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-3
Defining tiering policy groups when using the ISPF panel on page 3-8
Applying tiering policies when using the ISPF panel on page 3-8
Checking volume information for the scanned storage system when using
the ISPF panel on page 3-9
Checking pool information for the scanned storage system when using the
ISPF panel on page 3-11
Verifying definition information for the tiering policy group when using the
ISPF panel on page 3-14
Verifying volume information for the tiering policy group when using the
ISPF panel on page 3-17
Verifying pool information for the tiering policy group when using the ISPF
panel on page 3-19
Procedure
1.
2.
Enter KTSTART.
The main panel for Tiered Storage Manager for Mainframe appears.
Tip: When you display the main panel for the first time, the Edit
Defaults panel appears. Use this panel to specify the basic information
for using ISPF panels to operate Tiered Storage Manager for Mainframe.
Related topics
3-4
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Procedure
1.
2.
3.
Tip: In each panel, press the DispConf function key (F17) to display the
basic information you specified here for the ISPF panels. As a default,
because only 12 function keys are displayed, DispConf is not displayed in the
list of function keys. To display DispConf, set the number of displayed
function keys to 24.
Related topics
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-5
Prerequisites
To specify the scan range by using an SMS storage group or volume serial
numbers, bring the volumes online.
Procedure
1.
In the main panel, select the Storage System List 'Storage' point-andshoot field.
The Storage System List area appears.
2.
3.
Point the cursor to the entry field for the SMS storage group
name, and then press Enter.
4.
5.
Press Enter.
The scan results are saved in the disk configuration definition file, and a
list of scanned storage systems appears in the Storage System List
area.
Tip: If the disk configuration changes significantly after the scan (for
example, the storage systems are replaced or the device numbers of
volumes change due to changes in I/O definitions), you must delete the
disk configuration definition file. Then rescan the storage systems. If
necessary, define the tiering policy group again.
Postrequisites
3-6
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
Creating a tiering policy information CSV file when using the ISPF panel
on page 3-7
Creating a tiering policy information CSV file when using the ISPF
panel
To create a tiering policy information CSV file, assign the policy ID to the file
in the Policy CSV List area in the main panel, and then edit the contents of
the file.
Procedure
1.
In the main panel, select the Policy CSV List 'Policy' point-and-shoot
field.
The Policy CSV List area appears.
2.
3.
4.
5.
Enter 3 in the entry field or select the Edit 'E' point-and-shoot field.
The ISPF edit panel for editing the tiering policy information CSV file
appears.
6.
7.
Postrequisites
Related topics
Defining tiering policy groups when using the ISPF panel on page 3-8
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-7
Prerequisites
Procedure
1.
In the main panel, select the Policy CSV List 'Policy' point-and-shoot
field.
The Policy CSV List area appears.
2.
Enter a slash (/) in the AC field for the tiering policy information CSV file.
The Policy CSV List Actions panel appears.
3.
Enter 4 in the entry field or select the Import 'I' point-and-shoot field.
The tiering policy information CSV file is imported and the tiering policy
group is defined. The defined information is saved in the tiering policy
group definition file.
Postrequisites
Related topics
Scanning storage systems when using the ISPF panel on page 3-5
Creating a tiering policy information CSV file when using the ISPF panel
on page 3-7
Applying tiering policies when using the ISPF panel on page 3-8
Prerequisites
3-8
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Procedure
1.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
2.
Enter a slash (/) in the COMMAND field for the tiering policy group to
which you want to apply the tiering policies.
The Tiering Policy Group List Actions panel appears.
3.
4.
Enter a slash (/) in the Yes, activate the TPG. field, and then press
Enter.
The tiering policies are applied to the storage system.
Related topics
Defining tiering policy groups when using the ISPF panel on page 3-8
Procedure
1.
In the main panel, select the Storage System List 'Storage' point-andshoot field.
The Storage System List area appears.
2.
Enter a slash (/) in the AC field for the storage system containing the
volumes whose information you want to view.
The Storage System List Actions panel appears.
3.
Enter 1 in the entry field or select the Volume Selection 'V' point-andshoot field.
The Volume Selection List panel displays a list of volumes that belong
to the specified storage system.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-9
4.
5.
3-10
Enter 1 in the entry field or select the Volume Status Detail 'V' pointand-shoot field.
The Volume Status Detail panel displays details about the volume.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
Procedure
1.
In the main panel, select the Storage System List 'Storage' point-andshoot field.
The Storage System List area appears.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-11
2.
Enter a slash (/) in the AC field for the storage system containing the
pools whose information you want to view.
The Storage System List Actions panel appears.
3.
Enter 2 in the entry field or select the Pool Selection 'P' point-and-shoot
field.
The Pool Selection List panel displays a list of pools that belong to the
specified storage system.
4.
To display details about a specific pool, enter a slash (/) in the AC field.
The Pool Selection List Actions panel appears.
Tip: In this step, you can select a point-and-shoot pool ID instead of
entering a slash (/) in the AC field. This will directly change the panel
display to the Pool Status Detail panel.
5.
3-12
Enter 1 in the entry field or select the Pool Status Detail 'P' point-andshoot field.
The Pool Status Detail panel displays details about the pool.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-13
Procedure
1.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
2.
Enter a slash (/) in the COMMAND field for the tiering policy group whose
information you want to view.
The Tiering Policy Group List Actions panel appears.
3.
Related topics
3-14
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Procedure
1.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
2.
Enter a slash (/) in the COMMAND field of the tiering policy group for
which you want to view information.
The Tiering Policy Group List Actions panel appears.
3.
Related topics
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-15
Procedure
3-16
1.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
2.
Enter a slash (/) in the COMMAND field for the tiering policy group whose
information you want to view.
The Tiering Policy Group List Actions panel appears.
3.
Enter 4 in the entry field or select the Storage Groups 'SG' point-andshoot field.
The Select Storage Group List panel appears.
4.
Select 1 to display a list of all SMS storage groups contained in the tiering
policy group. If you want to filter the SMS storage groups to be displayed,
select 2 and then specify the filter condition in the Storage Group Name
field.
The Tiering Policy Group Storage Group List panel displays
information about the SMS storage groups.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
Verifying volume information for the tiering policy group when using
the ISPF panel
To verify information about the volumes belonging to the defined tiering
policy group, in the main panel, from the Tiering Policy Group List area,
open the Tiering Policy Group Volume List panel, and then check details
about the selected volumes in the Tiering Policy Group Volume Status
Detail panel.
Procedure
1.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
2.
Enter a slash (/) in the COMMAND field for the tiering policy group whose
information you want to view.
The Tiering Policy Group List Actions panel appears.
3.
Enter 5 in the entry field or select the Volumes 'V' point-and-shoot field.
The Select Volume List panel appears.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-17
4.
5.
6.
3-18
Enter 1 in the entry field or select the TPG Volume Status Detail 'V'
point-and-shoot field.
The Tiering Policy Group Volume Status Detail panel displays the
volume information for the tiering policy group.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
Verifying pool information for the tiering policy group when using
the ISPF panel
To verify information about the pools belonging to the defined tiering policy
group, in the main panel, from the Tiering Policy Group List area, open the
Tiering Policy Group Pool List panel, and then check details about the
selected pools in the Tiering Policy Group Pool Status Detail panel.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-19
Procedure
1.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
2.
Enter a slash (/) in the COMMAND field for the tiering policy group whose
information you want to view.
The Tiering Policy Group List Actions panel appears.
3.
Enter 6 in the entry field or select the Pools 'P' point-and-shoot field.
The Select Pool List panel appears.
4.
Select 1 to display a list of all pools contained in the tiering policy group.
If you want to filter the pools to be displayed, select 2 and then specify
the filter conditions in the Pool Name field.
The Tiering Policy Group Pool List panel displays information about the
pools.
5.
3-20
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
6.
Enter 1 in the entry field or select the TPG Pool Status Detail 'P' pointand-shoot field.
The Tiering Policy Group Pool Status Detail panel displays the pool
information for the tiering policy group..
Related topics
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-21
Procedure
3-22
1.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
2.
Enter a slash (/) in the COMMAND field for the tiering policy group to be
checked for whether tiering policies have been applied.
The Tiering Policy Group List Actions panel appears.
3.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
4.
5.
To check the tiering policies for a specific volume, enter a slash (/) in the
AC field.
The Tiering Policy Group Volume List Actions panel appears.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-23
Tip: In this step, you can select a point-and-shoot device number instead
of entering a slash (/) in the AC field. This will directly change the panel
display to the Tiering Policy Group Volume Status Detail panel.
6.
Enter 1 in the entry field or select the TPG Volume Status Detail 'V'
point-and-shoot field.
The Tiering Policy Group Volume Status Detail panel appears. Tiering
policies for which the values in the Definition field differ from the values
in the CurrentState field have not been applied to the storage system.
Related topics
3-24
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Checking the tier relocation status for volumes when using the ISPF
panel
To check the tier relocation status for volumes, use the Relocation state
field in the Tiering Policy Group Summary panel displayed from the
Tiering Policy Group List area in the main panel.
Procedure
1.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
2.
Enter a slash (/) in the COMMAND field for the tiering policy group to be
checked for the tier relocation status for volumes.
The Tiering Policy Group List Actions panel appears.
3.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-25
such as increasing the capacity for the tiers with insufficient pool capacity,
or moving data to another pool.
4.
To check the volumes for each relocation status, select the In range,
Out of range, or Shortage point-and-shoot fields.
The Tiering Policy Group Volume List panel displays a list of volumes
in the relocation status you selected above. (The following panel appears
if you selected Shortage).
Use the PoolID field to check the ID of a pool with insufficient capacity.
Related topics
Procedure
1.
3-26
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
2.
Enter a slash (/) in the COMMAND field for the tiering policy group for
which you want to find pools whose usage equals or exceeds the
threshold.
The Tiering Policy Group List Actions panel appears.
3.
4.
To view the pools whose usage equals or exceeds the threshold, select
the Pools exceeding threshold point-and-shoot field.
The Tiering Policy Group Pool List panel displays a list of pools whose
usage equals or exceeds the threshold.
Related topics
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-27
Procedure
1.
2.
In the main panel, select the Policy CSV List 'Policy' point-and-shoot
field to update the definition of the tiering policy group.
The Policy CSV List area appears.
3.
Enter a slash (/) in the AC field for the modified tiering policy information
CSV file.
The Policy CSV List Actions panel appears.
4.
Enter 4 in the entry field or select the Import 'I' point-and-shoot field.
The modified tiering policy information CSV file is imported and the
definition of the tiering policy group is updated.
5.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
6.
Enter a slash (/) in the COMMAND field for the tiering policy group whose
definition was modified.
The Tiering Policy Group List Actions panel appears.
7.
8.
Enter a slash (/) in the Yes, activate the TPG. field, and then press
Enter.
The definition of the modified tiering policy group is applied to the storage
system.
Related topics
3-28
Modifying the tiering policy information CSV file when using the ISPF
panel on page 3-31
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Adding a volume to a tiering policy group when using the ISPF panel
To add a volume to a tiering policy group, first add the volume to the
definition of the tiering policy group, and then apply the tiering policies to the
storage system.
Prerequisites
Maybe say prior to doing a scan by SMS storage group or volume serial
numbers, the volumes must be online.
Procedure
1.
2.
If the volume to be added has not been scanned, scan that volume to
update the disk configuration definition file.
Information about the volume to be added is saved in the disk
configuration definition file.
3.
In the main panel, select the Policy CSV List 'Policy' point-and-shoot
field to update the definition of the tiering policy group.
The Policy CSV List area appears.
4.
Enter a slash (/) in the AC field for the tiering policy information CSV file.
The Policy CSV List Actions panel appears.
5.
Enter 4 in the entry field or select the Import 'I' point-and-shoot field.
The tiering policy information CSV file is imported and the volume is
added to the definition of the tiering policy group.
6.
In the main panel, select the Tiering Policy Group List 'TPG' point-andshoot field.
The Tiering Policy Group List area appears.
7.
Enter a slash (/) in the COMMAND field for the tiering policy group whose
definition was modified.
The Tiering Policy Group List Actions panel appears.
8.
9.
Enter a slash (/) in the Yes, activate the TPG. field, and then press
Enter.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-29
The updated definition of the tiering policy group is applied to the storage
system.
Related topics
Scanning storage systems when using the ISPF panel on page 3-5
Modifying the tiering policy information CSV file when using the ISPF
panel on page 3-31
Deleting a specific volume from a tiering policy group when using the
ISPF panel
To delete a specific volume from a tiering policy group, first change the
tiering policy of the volume applied to the storage system back to the default
(if necessary) and then delete the volume from the definition of the tiering
policy group.
Caution: After you delete a volume from the definition, the tiering policy for
that volume can no longer be changed because Tiered Storage Manager for
Mainframe does not manipulate that volume.
Tip: You can change the tiering policy of the volume to be deleted back to
the default by changing the panel display from the Storage System List
area to the Volume Selection List panel, specifying D for the AC field, and
then executing Deactivate Device.
Procedure
1.
3-30
2.
In the main panel, select the Policy CSV List 'Policy' point-and-shoot
field to update the definition of the tiering policy group.
The Policy CSV List area appears.
3.
Enter a slash (/) in the AC field for the tiering policy information CSV file.
The Policy CSV List Actions panel appears.
4.
Enter 4 in the entry field or select the Import 'I' point-and-shoot field.
The tiering policy information CSV file is imported and the definition of the
tiering policy group is updated.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
Modifying the tiering policy information CSV file when using the ISPF
panel on page 3-31
Modifying the tiering policy information CSV file when using the ISPF
panel
To modify the tiering policy information CSV file, specify an action for the
target file on the Policy CSV List area in the main panel.
Use the following procedure to modify the tiering policy information CSV file.
Procedure
1.
In the main panel, select the Policy CSV List 'Policy' point-and-shoot
field.
The Policy CSV List area appears.
2.
Enter a slash (/) in the AC field for the target tiering policy information
CSV file.
The Policy CSV List Actions panel appears.
3.
Enter 3 in the entry field or select the Edit 'E' point-and-shoot field.
The ISPF edit panel for editing the tiering policy information CSV file
appears.
4.
5.
Related topics
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-31
Sorting items
To sort items displayed in a listing panel, select the point-and-shoot header
of the items.
Procedure
1.
Procedure
1.
Enter FILTER in the command line of the ISPF panel, and then press
Enter.
The Filter Options panel appears.
2.
3.
Press Enter.
The information is filtered according to the specified filter conditions.
Related topics
3-32
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Procedure
1.
Enter FIND in the command line of the ISPF panel, and then press Enter.
The Find Options panel appears.
2.
3.
Press Enter.
The cursor is positioned at a line containing the specified search string.
4.
To conduct another search by using the same search string, press the
Rfind function key.
The cursor is positioned at another line containing the specified search
string.
Related topics
Prerequisites
Data in the field in which the cursor is to be positioned has been sorted.
Procedure
1.
Enter LOCATE in the command line of the ISPF panel, and then press
Enter.
The Locate Options panel appears.
2.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-33
3.
Press Enter.
The cursor is positioned at a line containing the specified search string.
Related topics
Procedure
3-34
1.
Enter SELECT in the command line of the ISPF panel, and then press
Enter.
The Select Options panel appears.
2.
3.
Press Enter.
The action is set or canceled for multiple AC fields.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
Note: The action is not set or canceled for the lines that are not displayed by
the filter.
Related topics
Procedure
1.
2.
Clear the Command line at bottom check box to display the command
line at the top of the panel. Select this check box to display the command
line at the bottom of the panel.
Procedure
1.
2.
Procedure
1.
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
3-35
2.
3-36
Tiered Storage Manager for Mainframe operations when using the ISPF panel
Hitachi Tiered Storage Manager for Mainframe User Guide
4
Tiered Storage Manager for Mainframe
operations when using the CLI
This chapter describes how to use CLI commands to operate Tiered Storage
Manager for Mainframe.
Defining and verifying a tiering policy group when using the CLI
commands
Defining tiering policy groups when using the CLI commands
Verification after defining a tiering policy group when using the CLI
commands
About changing tiering policy groups when using the CLI commands
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
4-1
Figure 4-1 Workflow for defining and verifying a tiering policy group (CLI
commands)
4-2
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
Scanning the storage system when using the CLI commands on page
4-5
Creating a tiering policy information CSV file when using the CLI
commands on page 4-7
Defining tiering policy groups when using the CLI commands on page
4-7
Applying tiering policies when using the CLI commands on page 4-9
Verifying tiering policies when using the CLI commands on page 4-11
Checking the progress of tier relocation when using the CLI commands on
page 4-12
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
4-3
Procedure
1.
Specify a volume for which you want to acquire information, and then
execute the KTQRYDEV command.
The acquired volume information is stored in the host-discovered array
structure and the device information structure.
Reference scripts
For details about how to create the script, see sample script KTDEMO04.
Example
The following shows an example of volume information acquired by executing
sample script KTDEMO04 (KTQRYDEV command).
DKC
SN:14001,Model:VSP,Microcode:xxxxxxxx,IFType:1414
Pool
ID, Type,Pool Name
1,
DT,POOLID1
,Media(Tier1,Tier2,Tier3)
,"SSD","SAS 15K","SATA 7.2K"
Volume
Devn,Volser,CU,SSID,CCA,POOLID,TLv, Entry,Reloc
1101,VOL001,00,0000, 00,
1, 1, HIGH,
Y
Postrequisites
Related topics
4-4
Scanning the storage system when using the CLI commands on page
4-5
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
Prerequisites
Procedure
1.
Specify the scan range, and then execute the KTSCAN command.
The command acquires disk configuration information, and stores it in the
host-discovered array structure and host-discovered array index
structure.
2.
Tip: To view the contents of the disk configuration definition file, execute the
KTGETHDA command.
Tip: If the disk configuration changes significantly after the scan (for
example, because the storage system is replaced or device numbers of
volumes change due to changes in I/O definitions), you must delete the disk
configuration definition file. Then rescan the storage system. If necessary,
change the definition of the tiering policy group.
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
4-5
Reference scripts
For details about how to create the script, see the following sample scripts.
Example 1:
The code in this example scans devices 0000 through 00FF and volumes FF00
through FFFF, and saves the scan results in the disk configuration definition
file.
CALL KTSCAN "STEM(stem1.) MSG(msgstem.) FROM(0000) TO(00FF)";
CALL KTSCAN "STEM(stem1.) MSG(msgstem.) FROM(FF00) TO(FFFF)";
CALL KTSTORE "STEM(stem1.) MSG(msgstem.) PREFIX(PREFIX1)";
Example 2:
The code in this example scans the volumes with volume serial numbers from
VOL001 through VOL999, and saves the scan results in the disk configuration
definition file.
CALL KTSCAN "STEM(stem1.) MSG(msgstem.) FROMVSN(VOL001)",
"TOVSN(VOL999)";
CALL KTSTORE "STEM(stem1.) MSG(msgstem.) PREFIX(PREFIX1)";
Example 3:
The code in this example scans the volumes that belong to SMS storage
group SG1, and saves the scan results in the disk configuration definition file.
CALL KTSCAN "STEM(stem1.) MSG(msgstem.) STORGRP(SG1)";
CALL KTSTORE "STEM(stem1.) MSG(msgstem.) PREFIX(PREFIX1)";
Postrequisites
Related topics
4-6
Creating a tiering policy information CSV file when using the CLI
commands on page 4-7
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
Creating a tiering policy information CSV file when using the CLI
commands
Specify information about the SMS storage groups or volumes to be defined
as a policy group in a CSV file.
For the tiering policy information CSV file, assign a name in the following
format: prefix.POLICY.policy-ID. prefix is the character string to be
specified in Configuration file prefix on the Edit Defaults panel, or the
character string to be specified in the PREFIX parameter of CLI commands.
Make sure that you specify a character string common to the three types of
files used by Tiered Storage Manager for Mainframe.
Procedure
1.
2.
Postrequisites
Related topics
Defining tiering policy groups when using the CLI commands on page
4-7
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
4-7
Prerequisites
Varying the volumes online if the record type of the tiering policy
information CSV file is specified as STORGRP or VOLSER.
Procedure
1.
Reference scripts
For details about how to create the script, see the following sample scripts.
4-8
Checking the contents of the created tiering policy group definition file:
KTDEMO03
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
Example 1:
The code in this example imports a disk configuration definition file whose
prefix is PREFIX1 and a tiering policy information CSV file whose policy ID is
POLICY1, and creates a tiering policy group definition file.
CALL KTIMPORT "MSG(msgstem.) PREFIX(PREFIX1) POLICY(POLICY1)";
Example 2:
The code in this example imports a tiering policy information CSV file whose
policy ID is POLICY1, and creates a disk configuration definition file whose
prefix is PREFIX1 and a tiering policy group definition file simultaneously.
CALL KTIMPORT "MSG(msgstem.) PREFIX(PREFIX1) POLICY(POLICY1) SCAN";
Postrequisites
Related topics
Scanning the storage system when using the CLI commands on page 4-5
Creating a tiering policy information CSV file when using the CLI
commands on page 4-7
Applying tiering policies when using the CLI commands on page 4-9
KTDEMO03 (Display the contents of the tiering policy group definition file)
on page C-10
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
4-9
Prerequisites
Procedure
1.
2.
Reference scripts
For details about how to create the script, see sample script KTDEMO10.
Example:
The code in this example applies the tiering policies of tiering policy groups
TPG1 and TPG2 to the storage system.
CALL KTLOAD "STEM(stem1.) MSG(msgstem.) PREFIX(PREFIX1) TPG(TPG1)";
CALL KTACTTPG "STEM(stem1.) MSG(msgstem.)";
CALL KTLOAD "STEM(stem2.) MSG(msgstem.) PREFIX(PREFIX1) TPG(TPG2)";
CALL KTACTTPG "STEM(stem2.) MSG(msgstem.)";
4-10
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
Postrequisites
Related topics
Defining tiering policy groups when using the CLI commands on page 4-7
Verification after defining a tiering policy group when using the CLI
commands on page 4-11
Procedure
1.
2.
View the acquired information, and confirm whether the tiering policies
have been applied.
Reference scripts
For details about how to create the script, see the following sample scripts.
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
4-11
Example :
The following shows an example of the tiering policy information specified for
each volume in tiering policy group TPG1 acquired by executing sample script
KTDEMO11 (KTLOAD and KTQRYTPG commands).
Tiering Policy Group Name: TPG1
Volumes
Devn,Volser,STORGRP ,SN
,CU,SSID,CCA,POOLID,TLv, Entry,Reloc
0000,VOL001,SG1
,14001,00,0000, 00,
1, 1,MIDDLE,
Y
:
Related topics
Procedure
1.
2.
3.
View the acquired information and check the progress of tier relocation.
Reference scripts
For details about how to create the script, see the following sample scripts.
4-12
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
Example 1:
The following shows an example of the data allocation information for each
tier of the volume acquired by executing sample script KTDEMO12 (KTLOAD
and KTQRYTPG commands).
Tiering Policy Group Name: TPG1
Volumes Tier Status
POOL
Devn,Volser,SN
,CU,CCA, ID,TLv, Cylinders, Tier1Page, Tier2Page, Tier3Page
412D,
,14001,02, 2D, 2, 3,
3339,
0,
1,
0
412E,
,14001,02, 2E, 2, 3,
3339,
0,
1,
0
Example 2:
The following shows an example of information acquired by executing sample
script KTDEMO13 (the KTLOAD, KTQRYTPG, and KTQRYRLC commands). This
information shows the page relocation status of each volume in the tiering
policy group TPG1 and the tier relocation progress for each Dynamic Tiering
for Mainframe pool.
Tiering Policy Group Name: TPG1
Volumes
POOL
Devn,Volser,SN
,CU,CCA, ID,TLv,RelocateStatus
0000,VOL001,14001,00, 00, 1, 3,done
:
,LocatedPage/ TotalPage
,
1/
1
Pools
Relocate RelocateTime
MigrationPage
SN
, ID, Type,Monitor,active %,Start, End,ExpectedCt,MigratedCt
14001, 1,
DT,
auto,Y
100%,00:00,01:00,
0,
0
:
Pools tier status
SN
, ID,Tier,
Used/ Capacity,EntryBuf%,RelocBuf%,Media
14001, 1,
1,
1/
26
0%,
2%,"SSD"
14001, 1,
2,
263/
2631
8%,
2%,"SAS 15K"
14001, 1,
3,
1036/
131578
8%,
2%,"SATA 7.2K"
14001, 2,
1,
2/
26
0%,
2%,"SSD"
14001, 2,
2,
263/
2631
8%,
2%,"SAS 15K"
14001, 2,
3,
1036/
131578
8%,
2%,"EXTERNAL H"
:
Related topics
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
4-13
Procedure
1.
2.
Reference scripts
For details about how to create the script, see sample script KTDEMO14.
Example:
The following shows an example of the volume I/O performance information
for tiering policy group TPG1 acquired by executing sample script KTDEMO14
(KTLOAD and KTQSTATS commands).
Tiering Policy Group Name : TPG1
Monitor Interval Time(sec): 600
Volume I/O statistics
------------------------------------------------------11:23:00 - 11:33:00
------------------------------------------------------DEVN,Volser,STORGRP,SN
,CU,CCA,Tier1 IOPS,Tier2 IOPS,Tier3 IOPS
1101,VOL001,SG1
,14001,00, 01,
100,
253,
1486
1201,VOL002,SG1
,14001,00, 01,
20,
0,
0
------------------------------------------------------11:33:00 - 11:43:00
------------------------------------------------------DEVN,Volser,STORGRP,SN
,CU,CCA,Tier1 IOPS,Tier2 IOPS,Tier3 IOPS
1101,VOL001,SG1
,14001,00, 01,
60,
0,
0
1201,VOL002,SG1
,14001,00, 01,
4,
0,
0
:
Related topics
4-14
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
Procedure
1.
2.
3.
4.
5.
Related topics
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
4-15
Prerequisites
To specify the scan range by SMS storage group or volume serial number,
place the volume online.
Procedure
1.
2.
If the volume information to be added has not been scanned, you need to
execute the KTSCAN command with the volumes specified in the scan
range to update the disk configuration definition file.
The disk information of the volume to be added is stored in the hostdiscovered array structure and host-discovered array index structure.
3.
4.
5.
6.
7.
Tip: You can also update the disk configuration definition file by executing
the KTIMPORT command with the SCAN parameter specified, instead of
executing the KTSCAN and KTSTORE commands.
Related topics
4-16
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
Deleting a specific volume from a tiering policy group when using the
CLI commands
To delete a specific volume from a tiering policy group, first change the
tiering policy of the volume applied to the storage system back to the default
(if necessary), and then delete the volume from the definition of the tiering
policy group.
Caution: After you delete a volume from the definition, the tiering policy for
that volume can no longer be changed because Tiered Storage Manager for
Mainframe does not manipulate that volume.
Tip: You can use the KTDCTDEV command to change the tiering policy of the
volume to be deleted back to the default.
Procedure
1.
2.
3.
Reference scripts
Refer to the sample script KTDEMO05 for details on how to create scripts for
changing the tiering policy of volumes back to the default by using the
KTDCTDEV command.
Related topics
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
4-17
4-18
Tiered Storage Manager for Mainframe operations when using the CLI
Hitachi Tiered Storage Manager for Mainframe User Guide
5
ISPF panels
This chapter describes transition, operation methods, and displayed items of
the ISPF panel in Tiered Storage Manager for Mainframe.
Panel relationships of Tiered Storage Manager for Mainframe
Common items in the panel
Device Scan Scope panel
Edit Defaults panel
Error Code Help panel
Exception Message List panel
Main panel
Manage Licenses panel
Policy ID Entry panel
Pool Selection List panel
Pool Status Detail panel
Setting Information panel
Tiering Policy Group Definition panel
Tiering Policy Group Pool List panel
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-1
5-2
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-3
Goto
The Goto pull-down menu displays the name of the panels that you can
move to from the current panel.
5-4
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Figure 5-2 Goto pull-down menu (Tiering Policy Group Pool List panel)
Tip: When you select and move to a panel from the Goto pull-down menu,
and then press Exit function key or Cancel function key in the panel that
appears, you will return to the main panel, not to the original panel.
Commands
The Commands pull-down menu displays the command that can be executed
in the current panel.
Figure 5-3 Commands pull-down menu (Tiering Policy Group Pool List
panel)
Help
The Help pull-down menu displays the name of the Help panels that can be
referenced from the current panel.
Related topics
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-5
The following are some example of values that can be specified for the AC or
COMMAND field. For other specifiable values, see the explanation for each
panel.
Specifiable value for
AC or COMMAND field
Action
SG
ACT
DCT
Tip: If you position the cursor in the AC or COMMAND field and then press
the Enter key, the system operates the same as when / is specified.
The following figure show an example of actions panels when / is specified to
AC or COMMAND field.
5-6
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-7
Tip: Depending on the settings of the terminal emulator, you can select
point-and-shoot fields by using the mouse, instead of by pressing the Enter
key. For details on this setting, see the documentation for the terminal
emulator that you are using.
The following explains the actions that are executed when you select a pointand-shoot field.
Table 5-1 Actions that are executed when you select a point-and-shoot
field
Location
Executed action
Header of the
list
Sorts the rows based on the field value under the corresponding
header.
Field
Tip: If the list you are displaying has PoolID and SN as the header and you
select the PoolID point-and-shoot field, SN and PoolID will be sorted in a
multi-column sort. If the list you are displaying has CU and CCA as the
header and you select the CCA point-and-shoot field, CU and CCA will be
sorted in a multi-column sort.
5-8
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Field
The following is a representative example of an action executed by
selecting a point-and-shoot field.
Point-and-shoot fields
Volume statuses such as In range,
Mismatch, and Pools exceeding
threshold
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-9
Point-and-shoot fields
Volumes, pools
The following example show the list of volumes when the volume status is
selected as the point and shoot field.
5-10
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-11
5-12
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Storage Group
Description
To specify the target by SMS storage group, specify /,
and then in the input field, enter an SMS storage
group name to be scanned.
Specify /, and then without entering an SMS storage
group name, press the Enter key with the cursor on
the input field or press the Scan function key (F6) to
display the Storage Group Selection List pop-up
window. A list of selectable SMS storage groups is
displayed.
Volser
Device Number
When scanning finishes, the panel displays the unit used for the scan, the
scope of the scan, and the number of detected volumes.
After scanning, press the Exit function key to create or update disk
configuration definition files with the following name, and save the
configuration information of the detected volumes:
prefix.DSK.SNnnnnn.LOCAL
prefix: The prefix value specified to Configuration file prefix in the Set
Defaults area
nnnnn: The serial number of the storage system
Press the Cancel function key to discard the changes and exit.
Related topics
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-13
Item
ISPF log max
Description
Specifies the upper limit for the number of messages
that are output to the ISPF log when one command is
executed. The value for this option should be an
integer that is either 0 or between 10 and 5000,
inclusive. The recommended value is 100. If no value
is specified, 0 will be set, and the number of messages
will not be limited.
Capacity unit
Related topics
5-14
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Type of error
Description
Displays the type of errors.
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-15
Item
Message
Description
If the message shows an error code, the error code
details are displayed in the Error Code Help panel by
placing the cursor on the displayed error code and
then pressing the ErrCode function key (F4).
Related topics
Main panel
This section explains the Main panel and the areas in the panel.
Item
Installation Management
5-16
Description
Displays operation menus related to the installation of
Tiered Storage Manager for Mainframe.
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Description
Set Defaults
Tip: In the upper part of the panel, items in the accordion menu are
abbreviated as a shortcut bar. The accordion menu is also expanded by
selecting a shortcut bar item that is a point-and-shoot field. Short cut bar
item is also executed from the command line by entering the item name.
Related topics
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-17
Item
<Licenses>
Description
Select the <Licenses> point-and-shoot field to go to
the Manage Licenses panel for registering or
displaying license information.
Related topics
Item
Description
<Edit>
5-18
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Description
Capacity unit
Related topics
Item
Description
<Scan>
AC
Related topics
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-19
Item
Description
<Create>
AC
Related topics
5-20
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Description
COMMAND
Related topics
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-21
Item
PP Name
Description
Displays the license name.
Type
Capacity
5-22
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Policy ID
Description
The policy ID for a tiering policy information CSV file.
Item
AC
Description
Specify the action to be executed for the selected
pool.
You can specify the following actions:
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-23
Item
PoolName
Description
Displays the pool name up to 16 characters. You can
view pool names that exceed 16 characters in the
Tiering Policy Group Pool Status Detail panel.
Related topics
5-24
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Description
Relocation mode
Relocation status
Progress rate
Buffer for Entry(%) Displays the free-area-ratio for new-page assignment (%).
Reloc(%) Displays the ratio (%) of the relocation buffer area.
Description
Expected
Migrated
Basic Information
Displays the basic information of the pool.
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-25
Item
Description
Displays the upper limit of the number of messages that are output to
the ISPF log when one command is executed.
Displays the threshold for the pool usage rate. The number of pools
whose usage rate equals or exceeds this value is displayed in Pool
Summary in the Tiering Policy Group Summary panel.
Capacity Unit
Displays the unit for capacity and usage on volumes, pools, SMS storage
groups, and tiering policy groups.
Related topics
Item
AC
Description
Specify the action to be executed for the selected volume.
You can specify the following actions:
TLv
Displays the tiering policy level. The tier to which pages are assigned is
shown in the Tiering Policy Group Volume Status Detail panel.
Entry
5-26
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Reloc
Description
Related topics
The following figure shows the right-hand panel of the Tiering Policy Group
Pool List panel:
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-27
Item
Description
AC
PoolName
Displays the pool name up to 16 characters. You can view pool names that
exceed 16 characters in the Tiering Policy Group Pool Status Detail panel.
Related topics
5-28
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Relocation
status
Progress rate
Description
Displays the monitoring mode.
Buffer Entry(
for
%)
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-29
Item
Description
Reloc(
%)
Description
Expected
Migrated
Basic Information
Displays the basic information of the pool.
Item
AC
5-30
Description
Specify the action to be executed for the selected storage group.
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Description
Displays the amount of space used on each tier by all the volumes that
belong to the SMS storage group.
Displays the distribution ratio (%) of the usage of each tier by all the
volumes that belong to the SMS storage group.
Total
Displays the total amount of space used by all the volumes that belong to
the SMS storage group.
Related topics
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-31
Description
Displays the amount of space used on each tier by all volumes that belong
to tiering policy group.
Displays the distribution ratio (%) of the usage of each tier by all volumes
that belong to the tiering policy group.
Total
Displays the total amount of space used by all volumes that belong to the
tiering policy group.
Capacity
Displays the total capacity of all volumes in the tiering policy group.
Description
In range
Displays the number of volumes for which all pages in the volume are
assigned to the tiers specified by tiering policy level. Select the In range
point-and-shoot filed to display the volumes whose statuses are In range in
the Tiering Policy Group Volume List panel.
Out of range
Displays the number of volumes for which some pages in the volume are not
assigned to the tiers specified by tiering policy level. Select the Out of
range point-and-shoot filed to display the volumes whose statuses are Out
of range in the Tiering Policy Group Volume List panel.
Shortage
Displays the number of volumes for which some pages in the volume are not
assigned to the tiers specified by tiering policy level due to insufficient pool
capacity. Select the Shortage point-and-shoot filed to display the volumes
whose statuses are Shortage in the Tiering Policy Group Volume List
panel.
Tip: When a volume is in the Shortage status, you need to take measures
such as adding capacity to the pool or moving data to other pools.
Description
Displays the number of volumes for which the tiering policy defined for the
tiering policy group is different from the tiering policy set for the storage
system. Select the Mismatch point-and-shoot filed to display the
volumeswhose statuses are Mismatch in the Tiering Policy Group Volume
List panel.
5-32
Description
Displays the number of pools whose usage rate equals or exceeds the
threshold specified for Pool usage threshold in the Edit Defaults panel.
Select the Pools exceeding threshold point-and-shoot filed to display the
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Description
volumes whose usage rate equals or exceeds the threshold in the Tiering
Policy Group Pool List panel.
Tip: When a pool is in the Pools exceeding threshold status, you need to
take measures such as adding capacity to the pool or moving data to other
pools.
Related topics
The following figure shows the right-hand panel of the Tiering Policy Group
Volume List panel:
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-33
Item
AC
Description
Specify the action to be executed for the selected volume.
Diff
If the tiering policy defined in the tiering policy group definition file
is different from the tiering policy set for the storage system, * is
displayed. If these tiering policies are the same, nothing is
displayed.
TLv
Displays the tiering policy level set for the storage system. The
Tiering Policy Group Volume Status Detail panel shows which
pages are assigned to which tier.
State
Displays the distribution ratio (%) of the usage of each tier by the
volume.
Total
Capacity
5-34
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
Description
Displays the relocation status of the volume.
In range: All pages are assigned to the tiers specified by tiering policy
level.
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-35
Item
Description
Out of range: Some pages are not assigned to the tiers specified by
tiering policy level.
Tier level#
Entry#
Relocation#
Note:
The Definition column shows the value defined in the tiering policy group
definition file, and the CurrentState column shows the value set for the
storage system.
Basic Information
Displays basic information about the volume.
5-36
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Item
Description
AC
CCA
V: Goes to the Volume Status Detail panel. This panel displays detailed
information about the selected volume.
P: Goes to the Pool Status Detail panel. This panel displays detailed
information about the selected pool.
D: Restores the default tiering policy for the volume (tiering policy level: 0,
tier to which new pages are assigned: MIDDLE, whether to execute tier
relocation: Y).
Related topics
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-37
Description
Displays the relocation status of the volume.
In range: All pages are assigned to the tiers specified by tiering policy
level.
Out of range: Some pages are not assigned to the tiers specified by
tiering policy level.
Shortage: Some pages are not assigned to the tiers specified by tiering
policy level due to insufficient pool capacity.
Tier level
Entry
Displays the tier to which new pages are assigned that is specified on the
storage system.
Relocation
5-38
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
Basic Information
Displays basic information about the volume.
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
5-39
5-40
ISPF panels
Hitachi Tiered Storage Manager for Mainframe User Guide
6
CLI commands
This chapter describes the command functions that can be used in the Tiered
Storage Manager for Mainframe CLI.
List of CLI Commands
CLI command coding format
REXX external routine details
TSO/E command details
OS console command details
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-1
TSO/E commands
OS console commands
KTDCTDEV
Changes the tiering policy of the specified volume back to the default.
KTDCTTPG
Changes the tiering policy of a tiering policy group back to the default.
KTGETHDA
Loads the disk configuration definition file to the REXX variable structure.
KTIMPORT
Reads the tiering policy information CSV file and the disk configuration
definition file, and then defines a tiering policy group (creates a tiering
policy group definition file).
KTLOAD
Loads the tiering policy group definition file to the REXX variable
structure.
KTQRYDEV
Acquires information about the tiering policy for the specified volume and
information about the pool to which the volume belongs, and then stores
the information in the REXX variable.
KTQRYRLC
Acquires information such as the progress of page tier relocation for each
Dynamic Tiering for Mainframe pool to which the tiering policy group
belongs from the storage system, and then stores the information in the
REXX variable structure.
KTQRYTPG
Acquires tiering policy information and page tier location status for a
tiering policy group from the storage system, and then stores the
information in the REXX variable structure.
KTQSTATS
Acquires I/O performance information for a tiering policy group from the
storage system, and then stores the information in the REXX variable
structure.
KTSCAN
KTSTORE
KTWTOMSG
6-2
Description
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Description
KTCONMSG
KTENV
KTERCODE
Outputs the information for the specified error code and the cause of the
error to the TSO/E terminal.
KTINSCHK
Checks the setting items required for setup for incomplete or incorrect
information, and outputs the check results and settings to the TSO/E
terminal.
KTSLEEP
Suspends the execution of the script for the specified period of time.
Description
KTALCSVC
KTDSPENV
KTSETENV
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-3
1command-name
1"parameter"
Use the RESULT variable to acquire the return code of a CLI command.
When a CLI command is executed, values are set or updated in the REXX
variable structure. To check the command execution results, code a REXX
script to output the REXX variables in the REXX variable structure.
Before executing any one of the CLI commands listed below, you must
execute the KTLOAD command. The KTLOAD command loads the
information necessary for executing the CLI command from the
configuration file to the REXX variable structure.
KTACTTPG
KTDCTTPG
KTQRYRLC
KTQRYTPG
KTQSTATS
Multiple REXX variable structures are expanded for a single CLI command.
If only some of the REXX variable structures are deleted, subsequently
issued commands might not operate normally. To delete REXX variable
structures, you need to delete all the related REXX variable structures.
Related topics
1TSO
1"command-name
1parameter"
Use the RC variable to acquire the return code of a TSO/E command in the
REXX script.
6-4
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
command-name[,PARM='parameter']
KTACTTPG
Function
Applies the tiering policy for a tiering policy group.
Command type
REXX external routines
Format
KTACTTPG
1STEM(stem-name-1)
1MSG(stem-name-2)
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix of the tiering policy group structure to which the target
tiering policy group was loaded. This is the character string specified for
the STEM parameter of the KTLOAD command that was previously
executed. This value must end with a period.
MSG(stem-name-2)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
Return codes
The following table lists and describes the codes returned when the KTACTTPG
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-5
Meaning
12
32
36
40
44
48
52
LOCAL.SNnnnnn.CUxx.CCAxx.TierLevel
LOCAL.SNnnnnn.CUxx.CCAxx.Entry
LOCAL.SNnnnnn.CUxx.CCAxx.TierRelocation
Related topics
KTDCTDEV
Function
Changes the tiering policy for a volume back to the following default values.
6-6
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Command type
REXX external routine
Format
KTDCTDEV
1MSG(stem-name-1)
1DEVN(nnnn)
Parameters
MSG(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
DEVN(nnnn)~<four hexadecimal characters string>
Specify the device number of the volume for which the tiering policy will
be changed back to the default.
Return codes
The following table lists and describes the codes returned when the KTDCTDEV
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
Meaning
12
32
40
44
48
52
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-7
Related topics
KTDCTTPG
Function
Changes the tiering policy for a tiering policy group back to the following
default values.
Command type
REXX external routine
Format
KTDCTTPG
1STEM(stem-name-1)
1MSG(stem-name-2)
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix of the tiering policy group structure to which the target
tiering policy group was loaded. This is the character string specified for
the STEM parameter of the KTLOAD command that was previously
executed. This value must end with a period.
MSG(stem-name-2)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the name of the message structure that
stores messages generated by this command. This value must end with a
period.
Return codes
The following table lists and describes the codes returned when the KTDCTTPG
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
6-8
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Meaning
12
32
36
40
44
48
52
LOCAL.SNnnnnn.CUxx.CCAxx.TierLevel
LOCAL.SNnnnnn.CUxx.CCAxx.Entry
LOCAL.SNnnnnn.CUxx.CCAxx.TierRelocation
Related topics
KTGETHDA
Function
Loads the information from the disk configuration definition file to the hostdiscovered array structure and host-discovered array index structure.
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-9
Command type
REXX external routine
Format
KTGETHDA
1STEM(stem-name-1)
1MSG(stem-name-2)
1PREFIX(prefix)
1SN(serial-number)
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the host-discovered array structure to
which the information will be loaded from the disk configuration definition
file. This value must end with a period.
MSG(stem-name-2)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
PREFIX(prefix)~<prefix character string of 25 or fewer characters>
Specify the prefix of the disk configuration definition file to be read.
SN(storage-system-serial-number)~<5-12 alphanumeric characters>
Specify the serial number of the storage system from which information
will be read.
Reference note
If the KTGETHDA command with the same value specified for the STEM
parameter is executed multiple times, all execution results are valid as long
as the SN parameter, which specifies a storage system, has a unique value. If
a host-discovered array structure has already been set by executing another
CLI command, information for the same REXX variable name will be
overwritten.
Return codes
The following table lists and describes the codes returned when the KTGETHDA
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
6-10
Meaning
The command ended normally.
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Return code
Meaning
36
40
44
48
52
LOCAL.SNnnnnn.SerialNum
LOCAL.SNnnnnn.Microcode
LOCAL.SNnnnnn.IFType
LOCAL.SNnnnnn.PhysicalSerialNum
LOCAL.SNnnnnn.LDKCNum
LOCAL.SNnnnnn.CUxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.Devn
LOCAL.SNnnnnn.CUxx.CCAxx.Volser
LOCAL.SNnnnnn.CUxx.CCAxx.STORGRP
LOCAL.SNnnnnn.CUxx.CCAxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.POOLID
LOCAL.SNnnnnn.CUxx.CCAxx.Cyls
LOCAL.SNnnnnn.CUxx.CCAxx.External
LOCAL.SNnnnnn.POOLxx.NAME
LOCAL.SNnnnnn.POOLxx.Type
LOCAL.SNnnnnn.POOLxx.PageSize
LOCAL.SNnnnnn.POOLxx.Tier.0
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-11
LOCAL.SNnnnnn.POOLxx.Tier.n.Media
Related topics
KTIMPORT
Function
Reads the configuration information from the tiering policy information CSV
file and volume information from the disk configuration definition file, and
then creates a tiering policy group definition file.
Command type
REXX external routine
Prerequisites
If the record type of the tiering policy information CSV file is STORGRP or
VOLSER, the volumes must be placed online.
Format
KTIMPORT
1MSG(stem-name-1)
1PREFIX(prefix)
1POLICY(policy-ID)
1SCAN]
Parameters
MSG(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
PREFIX(prefix)~<prefix character string of 25 or fewer characters>
Specify the prefix of the disk configuration definition file, tiering policy
group definition file, and tiering policy information CSV file.
6-12
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Return codes
The following table lists and describes the codes returned when the KTIMPORT
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
Meaning
32
36
40
44
48
52
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-13
Return codes
20000 to 20099
Meaning
Related topics
KTLOAD
Function
Loads the information necessary for Tiered Storage Manager for Mainframe
operation from the following configuration files to the REXX variable
structures.
Loads the tiering policy group definition file to the tiering policy group
structure.
Command type
REXX external routine
Format
KTLOAD
1STEM(stem-name-1)
1MSG(stem-name-2)
1PREFIX(prefix)
1TPG(tiering-policy-group-ID)
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
6-14
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Specify the prefix (any value) of the REXX variable structure to which the
information will be loaded from the configuration file. This value must end
with a period.
If the KTLOAD command with the same value specified for the STEM
parameter is executed multiple times, the REXX variable will be
overwritten. To specify operations for multiple tiering policy groups in the
same script, specify a unique value of the STEM parameter for each tiering
policy group.
MSG(stem-name-2)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
PREFIX(prefix)~<prefix character string of 25 or fewer characters>
Specify the prefix of the configuration file from which information will be
loaded.
TPG(tiering-policy-group-ID)~<prefix character string>
Specify the tiering policy group ID.
This is the tiering policy group definition file name with prefix.TPG.
removed.
Return codes
The following table lists and describes the codes returned when the KTLOAD
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
Meaning
36
40
44
48
52
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-15
6-16
LOCAL.SNnnnnn.SerialNum
LOCAL.SNnnnnn.Microcode
LOCAL.SNnnnnn.IFType
LOCAL.SNnnnnn.PhysicalSerialNum
LOCAL.SNnnnnn.LDKCNum
LOCAL.SNnnnnn.CUxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.Devn
LOCAL.SNnnnnn.CUxx.CCAxx.Volser
LOCAL.SNnnnnn.CUxx.CCAxx.STORGRP
LOCAL.SNnnnnn.CUxx.CCAxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.POOLID
LOCAL.SNnnnnn.CUxx.CCAxx.Cyls
LOCAL.SNnnnnn.CUxx.CCAxx.External
LOCAL.SNnnnnn.POOLxx.NAME
LOCAL.SNnnnnn.POOLxx.Type
LOCAL.SNnnnnn.POOLxx.PageSize
LOCAL.SNnnnnn.POOLxx.Tier.0
LOCAL.SNnnnnn.POOLxx.Tier.n.Media
TPG.ID
TPG.VOL.0
TPG.VOL.n.SerialNum
TPG.VOL.n.CUNum
TPG.VOL.n.CCA
TPG.VOL.n.POOLID
TPG.VOL.n.SSID
TPG.VOL.n.TierLevel
TPG.VOL.n.TierRelocation
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Related topics
KTDEMO03 (Display the contents of the tiering policy group definition file)
on page C-10
KTQRYDEV
Function
Acquires the following information about the specified volume from the
storage system, and then stores the information in the REXX variable
structure.
Command type
REXX external routine
Format
KTQRYDEV
1STEM(stem-name-1)
1MSG(stem-name-2)
1DEVN(nnnn)
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the host-discovered array structure and
device information structure that store the acquired information. This
value must end with a period.
MSG(stem-name-2)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
DEVN(nnnn)~<four hexadecimal characters string>
Specify the device number of the volume for which information will be
acquired.
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-17
Return codes
The following table lists and describes the codes returned when the KTQRYDEV
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
Meaning
32
40
44
48
52
6-18
LOCAL.SNnnnnn.SerialNum
LOCAL.SNnnnnn.Microcode
LOCAL.SNnnnnn.IFType
LOCAL.SNnnnnn.PhysicalSerialNum
LOCAL.SNnnnnn.LDKCNum
LOCAL.SNnnnnn.CUxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.Devn
LOCAL.SNnnnnn.CUxx.CCAxx.VOLSER
LOCAL.SNnnnnn.CUxx.CCAxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.POOLID
LOCAL.SNnnnnn.CUxx.CCAxx.Cyls
LOCAL.SNnnnnn.CUxx.CCAxx.External
LOCAL.SNnnnnn.CUxx.CCAxx.TierLevel
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
LOCAL.SNnnnnn.CUxx.CCAxx.Entry
LOCAL.SNnnnnn.CUxx.CCAxx.TierRelocation
LOCAL.SNnnnnn.CUxx.CCAxx.Used
LOCAL.SNnnnnn.CUxx.CCAxx.Tier.0
LOCAL.SNnnnnn.CUxx.CCAxx.Tier.n.Used
LOCAL.SNnnnnn.CUxx.CCAxx.Tier.n.IO.Ct
LOCAL.SNnnnnn.POOLxx.NAME
LOCAL.SNnnnnn.POOLxx.Type
LOCAL.SNnnnnn.POOLxx.PageSize
LOCAL.SNnnnnn.POOLxx.Tier.0
LOCAL.SNnnnnn.POOLxx.Tier.n.Media
LOCAL.SNnnnnn.POOLxx.Tier.n.Capacity
LOCAL.SNnnnnn.POOLxx.Tier.n.Used
LOCAL.SNnnnnn.POOLxx.Tier.n.Unit
LOCAL.SNnnnnn.POOLxx.Tier.n.EntryBufferPerCent
LOCAL.SNnnnnn.POOLxx.Tier.n.RelocateBufferPerCent
LOCAL.SNnnnnn.POOLxx.Tier.n.m.ExpectedMigrationPageCt
LOCAL.SNnnnnn.POOLxx.Tier.n.m.MigratedPageCt
LOCAL.SNnnnnn.POOLxx.Auto
LOCAL.SNnnnnn.POOLxx.RelocateStartTime
LOCAL.SNnnnnn.POOLxx.RelocateEndTime
LOCAL.SNnnnnn.POOLxx.Relocating
LOCAL.SNnnnnn.POOLxx.RelocatePerCent
LOCAL.SNnnnnn.POOLxx.ExpectedMigrationPageCt
LOCAL.SNnnnnn.POOLxx.MigratedPageCt
Related topics
KTQRYRLC
Function
Acquires the following information about the Dynamic Tiering for Mainframe
pool from the storage system, and then stores the information in the REXX
variable structure.
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-19
Command type
REXX external routine
Format
KTQRYRLC
1STEM(stem-name-1)
1MSG(stem-name-2)
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix of the tiering policy group structure to which the target
tiering policy group information was loaded. This is the character string
specified for the STEM parameter of the KTLOAD command that was
previously executed. This value must end with a period.
MSG(stem-name-2)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
Return codes
The following table lists and describes the codes returned when the KTQRYRLC
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
Meaning
12
32
36
40
44
48
6-20
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Return code
Meaning
52
Related topics
KTQRYTPG
Function
Acquires the following information about the volumes that belong to a tiering
policy group from the storage system, and then stores the information in the
REXX variable structure.
Command type
REXX external routine
Format
KTQRYTPG
1STEM(stem-name-1)
1MSG(stem-name-2)
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-21
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix of the tiering policy group structure to which the target
tiering policy group information was loaded. This is the character string
specified for the STEM parameter of the KTLOAD command that was
previously executed.
MSG(stem-name-2)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
Return codes
The following table lists and describes the codes returned when the KTQRYTPG
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
Meaning
12
32
36
40
44
48
52
6-22
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
LOCAL.SNnnnnn.CUxx.CCAxx.TierLevel
LOCAL.SNnnnnn.CUxx.CCAxx.Entry
LOCAL.SNnnnnn.CUxx.CCAxx.TierRelocation
LOCAL.SNnnnnn.CUxx.CCAxx.Used
LOCAL.SNnnnnn.CUxx.CCAxx.Tier.0
LOCAL.SNnnnnn.CUxx.CCAxx.Tier.n.Used
Related topics
KTQSTATS
Function
Acquires I/O performance information for a tiering policy group from the
storage system, and then stores the information in the REXX variable
structure. The I/O performance information to be acquired is the number of
I/O operations at the back end (number of I/O operations for the drive
media).
Command type
REXX external routine
Format
KTQSTATS
1STEM(stem-name-1)
1MSG(stem-name-2)
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix of the tiering policy group structure to which the target
tiering policy group information was loaded. This is the character string
specified for the STEM parameter of the KTLOAD command that was
previously executed.
MSG(stem-name-2)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-23
Return codes
The following table lists and describes the codes returned when the KTQSTATS
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
Meaning
12
32
36
40
44
48
52
LOCAL.SNnnnnn.CUxx.CCAxx.Tier.n.0
LOCAL.SNnnnnn.CUxx.CCAxx.Tier.n.IO.Ct
LOCAL.SNnnnnn.CUxx.CCAxx.Tier.n.IO.diff
TPG.VOL.IO.Interval
Related topics
6-24
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
KTSCAN
Function
Acquires the following information by scanning volumes, and then stores the
information in the REXX variable structure.
Information about the Dynamic Tiering for Mainframe pool to which the
volumes belong
Command type
REXX external routine
Prerequisites
Format
KTSCAN
1STEM(stem-name-1)
1MSG(stem-name-2)
1{FROM(nnnn)
1TO(nnnn)
|FROMVSN(volser) 1TOVSN(volser)
|STORGRP(SMS-storage-group-name)
}
[ 1ARRAYS(stem-name-3)]
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the host-discovered array structure that
stores the scan results. This value must end with a period.
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-25
Notes
If you change any function or information for the storage system, such as a
microcode number, execute the KTSCAN command and the KTSTORE command
to acquire the storage system information again and update the definition. In
this case, you only have to scan one volume to acquire the storage system
information.
Reference note
6-26
If you want to define offline volumes in a tiering policy group, specify the
device numbers for those volumes when executing the KTSCAN and
KTIMPORT commands.
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Return codes
The following table lists and describes the codes returned when the KTSCAN
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
Meaning
The volumes for which I/O paths could not be used or the
volumes of unknown storage systems were skipped. The REXX
variables for the successfully detected volumes were created.
12
36
40
44
48
52
LOCAL.SNnnnnn.SerialNum
LOCAL.SNnnnnn.Microcode
LOCAL.SNnnnnn.IFType
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-27
LOCAL.SNnnnnn.PhysicalSerialNum
LOCAL.SNnnnnn.LDKCNum
LOCAL.SNnnnnn.CUxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.Devn
LOCAL.SNnnnnn.CUxx.CCAxx.Volser
LOCAL.SNnnnnn.CUxx.CCAxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.POOLID
LOCAL.SNnnnnn.CUxx.CCAxx.Cyls
LOCAL.SNnnnnn.CUxx.CCAxx.External
LOCAL.SNnnnnn.POOLxx.NAME
LOCAL.SNnnnnn.POOLxx.Type
LOCAL.SNnnnnn.POOLxx.PageSize
LOCAL.SNnnnnn.POOLxx.Tier.0
LOCAL.SNnnnnn.POOLxx.Tier.n.Media
Related topics
KTSTORE
Function
Saves the values of either of the following REXX variable structures in a
configuration file.
Saves the values of the tiering policy group structure generated by the
KTLOAD command in the tiering policy group definition file.
Command type
REXX external routine
Format
KTSTORE
1STEM(stem-name-1)
6-28
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
1MSG(stem-name-2)
1PREFIX(prefix)
1ARRAYS(stem-name-3)]
1{DSK|TPG}]
1VOLUME(volser)]
1SPACE(quantity,increment)]
Parameters
STEM(stem-name-1)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix of the target REXX variable structure. If the hostdiscovered array structure has been created by executing the KTSCAN
command, specify the character string specified for the STEM parameter of
the KTSCAN command. If the REXX variable structure has been created by
executing the KTLOAD command, specify the character string specified for
the STEM parameter of the KTLOAD command. This value must end with a
period.
MSG(stem-name-2)~<REXX prefix consisting of 64 or fewer characters>
Specify the prefix (any value) of the message structure that stores
messages generated by this command. This value must end with a
period.
PREFIX(prefix)~<prefix character string of 25 or fewer characters>
Specify the prefix of the name of the configuration file that saves
information.
Caution: If you want to install and use Tiered Storage Manager for
Mainframe in the same system as Business Continuity Manager, you must
make sure that the prefix character strings for Business Continuity
Manager and Tiered Storage Manager for Mainframe are different. If the
same prefix is used for both Business Continuity Manager and Tiered
Storage Manager for Mainframe, the product may operate abnormally.
ARRAYS(stem-name-3)~<REXX prefix consisting of 64 or fewer characters>
<<HCC.KTSCAN.>>
Specify the prefix of the host-discovered array index structure that stores
the scan results. Specify the character string that was specified for the
ARRAYS parameter of the KTSCAN command only if in the disk
configuration file, you save the values of the host-discovered array
structure acquired by using the KTSCAN command with the ARRAYS
parameter specified. This value must end with a period.
{DSK|TPG}~<<DSK>>
Specify the configuration file to save the values of the REXX variables in.
DSK
The values of the host-discovered array structure are saved in the
disk configuration definition file.
TPG
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-29
The values of the tiering policy group structure are saved in the
tiering policy group definition file.
VOLUME(volser)~<character string with 6 or fewer alphanumeric
characters>
To allocate the configuration file to a specific volume, specify the serial
number of the volume to be allocated to. This parameter is enabled when
the configuration file is not managed by SMS.
SPACE(quantity,increment) ~<number>((from 1 to 16777215))
On a block basis, specify the primary quantity and secondary quantity
when allocating the configuration file. One block is 4,096 bytes. Specify
this parameter when you want to limit the primary quantity and add the
insufficient portion to the secondary quantity. If you do not specify this
parameter, the capacity of the configuration file is automatically
calculated and allocated as the primary quantity.
Tip: If the configuration file already exists when you execute the KTSTORE
command, the existing configuration file information and the information
stored in the REXX variable structure are merged. The merged information is
then saved to a newly allocated dataset. Therefore, the VOLUME parameter
and the SPACE parameter are enabled when the configuration file is updated.
Tip: When you execute the KTSTORE command, a number of datasets, equal
to the number of disk configuration definition files to be updated# + 1, are
allocated at the same time. Therefore, ensure that the number of datasets
that are allocated at the same time does not exceed the value of the
DYNAMNBR parameter of the TSO/E logon procedure or JCL.
#: The number of disk configuration definition files to be updated is the
number of storage systems that contain information in their host-discovered
array structure.
Return codes
The following table lists and describes the codes returned when the KTSTORE
command terminates. If the commands do not terminate normally, refer to
the resulting error messages for details.
6-30
Meaning
36
40
44
48
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Return code
Meaning
52
20000 to 20099
If the disk configuration definition file is specified for saving the REXX
variables, the following REXX variables in the host-discovered array
structure are saved in the disk configuration definition file.
A REXX variable name is preceded by the value specified for the STEM
parameter.
LOCAL.SNnnnnn.SerialNum
LOCAL.SNnnnnn.Model
LOCAL.SNnnnnn.Microcode
LOCAL.SNnnnnn.IFType
LOCAL.SNnnnnn.PhysicalSerialNum
LOCAL.SNnnnnn.CUxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.Devn
LOCAL.SNnnnnn.CUxx.CCAxx.Volser
LOCAL.SNnnnnn.CUxx.CCAxx.STORGRP
LOCAL.SNnnnnn.CUxx.CCAxx.SSID
LOCAL.SNnnnnn.CUxx.CCAxx.POOLID
LOCAL.SNnnnnn.CUxx.CCAxx.Cyls
LOCAL.SNnnnnn.CUxx.CCAxx.External
LOCAL.SNnnnnn.POOLxx.NAME
LOCAL.SNnnnnn.POOLxx.Type
LOCAL.SNnnnnn.POOLxx.PageSize
LOCAL.SNnnnnn.POOLxx.Tier.n.Media
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-31
If the tiering policy group definition file is specified for saving the REXX
variables, the following REXX variables in the tiering policy group
structure are saved in the tiering policy group definition file.
A REXX variable name is preceded by the value specified for the STEM
parameter.
TPG.ID
TPG.VOL.n.SerialNum
TPG.VOL.n.CUNum
TPG.VOL.n.CCA
TPG.VOL.n.POOLID
TPG.VOL.n.SSID
TPG.VOL.n.TierLevel
TPG.VOL.n.Entry
TPG.VOL.n.TierRelocation
Related topics
KTWTOMSG
Function
Outputs the specified message ID and message text to the console.
Command type
REXX external routine
Format
To output a single-line message:
KTWTOMSG
1type,text
Parameters
type
6-32
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Specify one of the values shown below as the type of the message to be
output. The message will be output with the routing code appropriate for
the specified type.
I
Specify this for a message that reports information. The message will
be output with routing code 11.
W
Specify this for a warning message. The message will be output with
routing code 6.
E
Specify this for an error message. The message will be output with
routing code 6.
Note
A maximum of ten lines can be output in a multi-line message text.
Return codes
The following table lists and describes the codes returned when the KTWTOMSG
command terminates.
Meaning
1004
1008
1012
No text is specified.
1016
2000
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-33
Return code
Meaning
See the return codes of the WTO macro. For details, see the MVS
Programming: Assembler Services Guide.
KTCONMSG
Function
Monitors the messages output to the console.
Command type
TSO/E command
Format
KTCONMSG
1{OP(OPEN)[
|OP(GET)
1MSGID(message-ID)]
1TIMEOUT(timeout-value)]
1HANDLE(X'handle-value')
|OP(CLOSE)
}
1HANDLE(X'handle-value')
Parameters
OP({OPEN|GET|CLOSE})
Specify the processing type.
OPEN
Establish an EMCS console interface for monitoring messages. When
the command with the OPEN parameter specified ends normally, the
YKA098I message containing the handle value to be specified for the
OP(GET) and OP(CLOSE) parameters is returned.
GET
Messages acquired after the EMCS console interface was established
are returned in order in which they arrived.
If no messages have been acquired, either of the following operations
is performed.
If a value other than 0 is specified for the TIMEOUT parameter: If no
messages arrived when the number of seconds specified for the
TIMEOUT parameter has elapsed, the YKA096I message is output and
the command ends with return code 2.
6-34
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
CLOSE
Close the EMCS console interface for monitoring messages.
Return codes
The following table lists and describes the codes returned when the KTCONMSG
command terminates.
Meaning
The module cannot be loaded. The possible causes are as follows:
The load library for LINKLIB has not been registered for APF
authentication.
-1
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-35
KTENV
Function
Outputs the program product name and the operating environment settings
for Tiered Storage Manager for Mainframe to the TSO/E terminal.
Command type
TSO/E command
Format
KTENV
Return codes
The following table lists and describes the codes returned when the KTENV
command terminates.
Meaning
The module cannot be loaded. The possible causes are as
follows:
-3
-1
Output items
The following table lists and describes the items output when the KTENV
command is executed, in order in which they are output.
6-36
Description
Environment variables
(v.r.m-nn(zz))
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Output item
CLI log output settings
Description
YKLCNSE
&YKLCNSE
YKLCNS2
&YKLCNS2
LOGPUT
&YKLOGPT
SYSLOG
&YKSYSLG
#
If the value has not been specified, N/A is output.
Example
The following shows an example of executing the KTENV command.
READY
KTENV
Hitachi Tiered Storage Manager for Mainframe
Environment variables (v.r.m-nn(zz))
License info DSN prefix: HITACHI
Event log output method: LOGR
CLI log output settings: NO
YKLCNSE = N/A
(&YKLCNSE = "HITACHI" )
YKLCNS2 = N/A
(&YKLCNS2 = N/A
)
LOGPUT = LOGR
(&YKLOGPT = N/A
)
SYSLOG = N/A
(&YKSYSLG = N/A
)
YKZ371I KTENV command return code=0.
KTERCODE
Function
Outputs the information for the specified error code and the cause of the
error to the TSO/E terminal.
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-37
Command type
TSO/E command
Format
KTERCODE
1error-code
Parameters
error-code ~<four hexadecimal characters string>
Specify the sense byte information (error code) for the storage system
contained in messages output by Tiered Storage Manager for Mainframe.
For details about error codes, see the description of storage system sense
byte information in the Hitachi Tiered Storage Manager for Mainframe
Messages.
Return codes
The following table lists and describes the codes returned when the KTERCODE
command terminates.
Meaning
16
64
Example
The following shows an example of executing the KTERCODE command.
READY
KTERCODE 6A13
Error details:
The command could not be executed because a remote command was executed
while the command device was not defined.
Type of error:
Others.
6-38
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
KTINSCHK
Function
Checks the setting items required for setup for incomplete or incorrect
information, and then outputs a message showing the check results and the
settings.
Command type
TSO/E command
Format
KTINSCHK
Return codes
The following table lists and describes the codes returned when the KTINSCHK
command terminates.
Meaning
32
Output items
The following table lists and describes the items output when the KTINSCHK
command is executed, in the order in which they are output.
Description
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-39
Output item
Description
Directions
Current User
SVC
SVC Number
Version
SVC Number
Version
SVC Number
Version
Dynamic
registered
User SVC
Static
installed
User SVC
Directions
#1
If the value has not been specified, N/A is output.
#2
If the information cannot be acquired, N/A is output.
Example
The following shows an example of executing the KTINSCHK command.
READY
KTINSCHK
Security Settings .........: OK
User SVC Routine ..........: OK
Facility Class Profiles Query
: STGADMIN.YKA.DKT.KTQUERY
Facility Class Profiles Commands : STGADMIN.YKA.DKT.COMMANDS
Directions
The current setup is listed above.
An unregistered profile is listed as N/A.
The RACF settings are necessary in order to use CLI commands.
After a profile is defined in the RACF FACILITY class, a user can use
CLI commands by being given the access rights of the profile.
There are the following two kinds of profiles:
- Facility Class Profiles Query
6-40
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
KTSLEEP
Function
Suspends the execution of the script for the specified period of time.
Command type
TSO/E command
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-41
Format
KTSLEEP
1{SEC(timeout-value)|MIN(timeout-value)}
Parameters
SEC(timeout-value)~<number>((1-9999))
Specify the period of time in seconds during which the script is
suspended.
MIN(timeout-value)~<number>((1-9999))
Specify the period of time in minutes during which the script is
suspended.
Note
Depending on the priority and operating status of other tasks, the script
suspended by the KTSLEEP command might not operate immediately after the
specified time has elapsed.
Return codes
The following table lists and describes the codes returned when the KTSLEEP
command terminates.
Meaning
16
KTALCSVC
Function
Use this command to register or delete a user SVC.
Command type
OS console command
6-42
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
Format
1KTALCSVC[,PARM='{SVC-number|DELETE}']
START
Parameters
If you omitted the PARM part of the command, an unused SVC number
between 200 and 255 is assigned.
SVC-number to <number> ~ ((from 200 to 255))
Specify a SVC number to be assigned for the user SVC.
DELETE
Specify this parameter to delete a user SVC.
Notes
If you used the KTALCSVC command to delete a user SVC while Tiered
Storage Manager for Mainframe was running, CLI commands that are being
executed might terminate abnormally.
Return codes
The following table shows the return codes when the execution of the
KTALCSVC command ends.
Meaning
Successfully completed.
16
20
KTDSPENV
Function
Displays the program product name and the Tiered Storage Manager for
Mainframe operating environment setting values in the console.
Command type
OS console command
Format
START 1KTDSPENV
[,PARM='[{SUMMARY|DETAIL}]']
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-43
Parameters
SUMMARY is assumed if the PARM part of the command was omitted or specified
as PARM=''.
SUMMARY
Displays the program product name, the prefix of the license information
dataset, the information about whether to use the system logger service,
and the information about whether to output CLI command-execution
logs to SYSLOG or the console.
DETAIL
Displays the content displayed when the SUMMARY parameter is specified,
and also displays the environment variables that are set dynamically by
using the KTSETENV command and the system symbol values that are set
statically.
Return codes
The following table shows return codes when the execution of the KTDSPENV
command ends.
Meaning
Successfully completed.
Execution examples
Execution example without the DETAIL parameter
START KTDSPENV
KTA403I Hitachi Tiered Storage Manager for Mainframe
KTA400I Environment variables (v.r.m-nn(zz))
KTA401I License info DSN prefix: Hitachi
KTA401I Event log output method: LOGR
KTA401I CLI log output settings: YES
6-44
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
KTSETENV
Function
Use this command to set the following values using environment variables.
Command type
OS console command
Format
START 1KTSETENV,
PARM='{YKLCNSE=[prefix-1]|
YKLCNS2=[prefix-2]|
LOGPUT=[{LOGR|SAM}]|
SYSLOG=[{YES|NO|CONSOLE}]}[,...]'
Parameters
Multiple parameters can be specified for the maximum length that can be
specified in the PARM parameter of the START command. If the same
parameter is specified more than once, the instance specified last takes
effect.
YKLCNSE=[prefix-1] ~ <8 or fewer alphanumeric characters>
Specify prefix-1 for the license information dataset so that the name of
the dataset is unique. To remove the value of the environment variable
YKLCNSE, specify PARM='YKLCNSE='.
YKLCNS2=[prefix-2]: ~ <8 for few alphanumeric characters>
Specify prefix-2 for the license information dataset so that the name of
the dataset is unique. To remove the value of the environment variable
YKLCNS2, specify PARM='YKLCNS2='.
LOGPUT=[LOGR|SAM]
Specify whether the system logger service is to be used when outputting
event logs.
LOGR
Event logs are output using the system logger service.
SAM
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
6-45
SYSLOG=[YES|NO|CONSOLE]
Specify whether CLI command-execution logs are output to SYSLOG or
the console.
YES
CLI command-execution logs are output to SYSLOG.
CONSOLE
CLI command-execution logs are output to the console.
NO
Return codes
The following table shows the return codes when execution of the KTSETENV
command ends.
6-46
Meaning
Successfully completed.
12
16
CLI commands
Hitachi Tiered Storage Manager for Mainframe User Guide
7
Files used by Tiered Storage Manager
for Mainframe
This chapter describes the files used by Tiered Storage Manager for
Mainframe.
File naming conventions used by Tiered Storage Manager for Mainframe
Format of datasets used by Tiered Storage Manager for Mainframe
Disk space requirements of configuration files
Format of tiering policy information CSV files
7-1
Table 7-1 File naming conventions used by Tiered Storage Manager for
Mainframe
File type
File name
prefix.POLICY.policy-ID
prefix.DSK.SNnnnnn.LOCAL
prefix.TPG.tiering-policy-group-ID
Caution: Use the disk configuration definition file and tiering policy group
definition file as a reference only. They might not function properly if you
change the file contents.
The following table shows the maximum length and the permitted characters
for items in the filenames used by Tiered Storage Manager for Mainframe.
Item
Prefix
7-2
25
Permitted characters
A string consisting of one or more parts, joined by
periods. Each part can contain from one to eight
characters, and consist of uppercase alphabetic and
numeric characters. Note that the first character of
Maximum
length
Item
Permitted characters
each part must be an uppercase alphabetic
character.
Policy ID
Tiering policy
group ID
44 - (5 +
prefix)
DSORG
RECFM
LRECL
BLKSIZE
PS
VB
128 or more
Any
PS
VB
256
4,096
PS
VB
256
4,096
700+A
400+B
230
200+C
100+D
100
Legend:
A: Number of volumes specified in the disk configuration definition file
B: Number of pools specified in the disk configuration definition file
C: Number of volumes specified in the tiering policy group definition file
D: Number of records specified in the tiering policy group definition file
7-3
A record (row) with a hash mark (#) in the first column, as shown below,
is a comment.
# character-string
Any double quotation marks (") specified for a parameter are ignored.
If values after a parameter are omitted, commas (,) that are used as
separators of the values can also be omitted. In the following example,
the specification of the new-page assignment tier of the SGI storage
group and whether to execute tier relocation are omitted including
commas (,).
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,2
Syntax
record-type,device,tiering-policy-group-ID[,[tiering-policy-level][,
[new-page-assignment-tier][,[tier-relocation]]]]
Parameters
record-type, device
Specifies the volume or volumes for which a tiering policy is to be set.
Use one of the following patterns:
7-4
Table 7-5 Relationship between tiering policy levels and tiers in which
data will be located
Tiering policy
level
2-tier configuration
Tier 1
Tier 1
Tiers 1 and 2
Tier 2
Tiers 2 and 3
Tier 3
Tier 2
HIGH: The new page is assigned from the higher tier of tiers set in the
tiering policy.
MIDDLE: The new page is assigned from the middle tier of tiers set in
the tiering policy.
LOW: The new page is assigned from the lower tier of tiers set in the
tiering policy.
The following tables describe in detail the values set for the new-page
assignment tier in a 3-tier and a 2-tier configuration. how the order of
tiers to which new pages will be assigned is determined by the tiering
policy level and new-page assignment tier settings. In the table, 1>2
indicates that pages will first be assigned to Tier 1 (higher tier), and if
Tier 1 becomes full, pages will then be assigned to Tier 2 (lower tier). The
7-5
smaller the tier number, the higher the tier. For example, if an SSD
device and an SAS device make up a tiered volume, the SSD device is
Tier 1, and the SAS device is Tier 2.
MIDDLE
LOW
Description
1>2>3
2>3>1
3>2>1
1>2>3
1>2>3
1>2>3
1>2>3
1>2>3
2>1>3
2>3>1
2>3>1
2>3>1
2>3>1
2>3>1
3>2>1
3>2>1
3>2>1
3>2>1
Tiering
policy level
HIGH
MIDDLE
LOW
Description
1>2
1>2
2>1
1>2
1>2
1>2
1>2
1>2
2>1
1>2
1>2
2>1
1>2
1>2
2>1
2>1
2>1
2>1
7-6
Record priority
The priority of records in one tiering policy group is as follows.
If you specified the same SMS storage group name, device number, or
volume serial number for multiple records, the record specified last is
valid.
If you specified the same volume with both the record for the device
number and the record for the volume serial number, the record specified
last is valid.
Examples
Example of defining the same volume for multiple tiering policy groups
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,1
STORGRP,SG1
,TPG2 ,5
Both definitions are valid. By using the KTACTTPG command to switch the
definition applied to the storage system, you can switch the definition
based on the time zone.
Example of defining the same volume more than once for a single tiering
policy group
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
DEVN
,1101 ,TPG1 ,1
DEVN
,1101 ,TPG1 ,5
The last record is valid. For example, in the above coding, tiering policy
level 5 is assigned to the volume with device number 1101.
7-7
7-8
Target volume
Tiering
policy level
New-page
assignment
tier
Whether to
execute tier
relocation
HIGH
Not specified
Not specified
Not specified
HIGH
Not specified
Tiering
policy level
5
New-page
assignment
tier
Not specified
Whether to
execute tier
relocation
Not specified
Prefix: PREFIX1
This value will be used as the file name prefix for configuration files
and tiering policy information CSV files.
Policy ID: POLICY1
This value will be used as the file name suffix for tiering policy
information CSV files.
Tiering policy group IDs: TPG1 and TPG2
These values will be used as the file name suffixes for tiering policy
group definition files.
7-9
7-10
The above example changes the tiering policy of volumes in the storage
system in the SMS storage group SG1 back to the default.
Tip: After you change the tiering policy back to the default, the status of the
volume to delete is as follows:
Caution: If the record (not the tiering policy parameters) is deleted, the
volume is deleted from the tiering policy group while the tiering policy
remains. Consequently, Tiered Storage Manager for Mainframe cannot
manipulate the volume.
This example deletes the record of the volume from the tiering policy
information CSV file. After the record is deleted, the tiering policies assigned
individually are deleted. The tiering policies that are set to the SMS storage
group where the volume belongs are applied.
Before the change:
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,2
,HIGH
DEVN
,1101 ,TPG1 ,1
DEVN
,1202 ,TPG1 ,2
,HIGH
After the change:
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,2
,HIGH
DEVN
,1202 ,TPG1 ,2
,HIGH
In the above example, the tiering policy level of the volume of device number
1101 in the SMS storage group SG1 is 2. The new-page assignment tier is
HIGH.
7-11
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,2
,HIGH
Add a volume to the SMS storage group. You do not need to modify the
tiering policy information CSV file.
When adding a volume that does not belong to the SMS storage
group
Add the record of the volume to be added to the tiering policy information
CSV file.
Before the change:
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,2
,HIGH
After the change:
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,2
,HIGH
DEVN
,1202 ,TPG1 ,2
,HIGH
7-12
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,2
,HIGH
DEVN
,1202 ,TPG1 ,2
,HIGH
Remove the volume from the SMS storage group. You do not need to modify
the tiering policy information CSV file.
When deleting a volume that does not belong to the SMS storage
group
Delete the record of the volume from the tiering policy information CSV file.
Before the change:
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,2
,HIGH
DEVN
,1202 ,TPG1 ,2
,HIGH
After the change:
#TYPE ,DEVICE,TPGID,TierLvl,Entry,Reloc
STORGRP,SG1
,TPG1 ,2
,HIGH
7-13
7-14
8
REXX variable structures
This chapter describes the REXX variable structures used by Tiered Storage
Manager for Mainframe.
List of REXX variable structures
Message structure
Host-discovered array index structure
Host-discovered array structure
Tiering policy group structure
Device information structure
8-1
Contents
Message structure
Host-discovered
array index
structure
Host-discovered
array structure
Device information
structure
Message structure
Messages generated by CLI commands are stored in the message structure.
8-2
Description
n.
Severity
Text
Additional information
Value
8-3
Description
n.
SerialNum
DADID
Prefix of the host-discovered array structure from which the last period is removed
Prefix
POOLMap
1 is set for the position corresponding to the pool ID. The first value indicates pool ID
00. If this value is
CUMap
1 is set to the position corresponding to the control unit numbers. The first value
indicates control unit number 00. If this value is 11
numbers will be 00, 01, 03, and 05.
Information for each control unit is stored in lower-level REXX variables. xx indicates
a control unit number (hexadecimal).
CUxx.
No information for undefined control unit numbers is stored in REXX variables. Check
the defined control unit numbers from the map information.
CCAMap
11, the
Note:
in the table indicates a space.
8-4
Description
Information for each storage system is stored in lowerlevel REXX variables. nnnnn indicates the storage
system serial number.
LOCAL.SNnnnnn.
SerialNum
Model
Microcode number
Microcode
Interface version
IFType
PhysicalSerialNum
LDKCNum
CUxx.
(followed by lower-level REXX variables)
Information for each control unit is stored in lowerlevel REXX variables. xx indicates a control unit
number (hexadecimal).
No information for undefined control unit numbers is
stored in REXX variables. Check the defined control
unit numbers from the map information stored in the
host-discovered array index structure.
POOLxx.
(followed by lower-level REXX variables)
8-5
Description
Upper-variable name
LOCAL.SNnnnnn.CUxx.
SSID
Information for each command control address is stored in lowerlevel REXX variables. xx indicates a command control address
number (hexadecimal). No information for undefined command
control address numbers is stored in REXX variables. Check the
defined command control address numbers from the map
information stored in the host-discovered array index structure.
CCAxx.
Device number
Devn
Volser
STORGRP
Storage system ID
SSID
POOLID
Cyls
External
Y: External volume
TierLevel
Entry
TierRelocation
Used
Tier.
0
n.
8-6
HIGH: The new page is assigned from the higher tier of tiers
set in the tiering policy.
MIDDLE: The new page is assigned from the middle tier of tiers
set in the tiering policy.
LOW: The new page is assigned from the lower tier of tiers set
in the tiering policy.
Description
Number of pages assigned to each tier
Used
--
IO.
Ct
Only the number of I/O operations at the back end are counted as
I/O operations (number of I/O operations for the drive media).
diff
Number of I/Os for the target volume after the previous KTQSTATS
command was issued
This value is invalid if the prefixTPG.n.IO.Interval in the tiering
policy group structure is set to 0.
Note:
Some REXX variables take effect only for Dynamic Tiering for Mainframe
volumes or Dynamic Provisioning for Mainframe volumes. If the value is
not valid, 0 or a NULL is set.
Lower-level REXX variables for LOCAL.SNnnnnn.POOLxx.
REXX variable name
LOCAL.SNnnnnn.POOLxx.
Description
Upper-variable name
Pool name
NAME
Pool type
Type
PageSize
Monitoring mode
Auto
RelocateStartTime#
RelocateEndTime#
Relocating
RelocatePerCent
ExpectedMigrationPageCt#
Y: Relocation in progress
8-7
Description
Number of migrated pages for the entire pool
--
Tier.
n.
Media
Capacity
0006: Mixed
Used
Unit
EntryBufferPerCent
RelocateBufferPerCent
m.
Note:
Some REXX variables take effect only for Dynamic Tiering for Mainframe
pools. If the value is not valid, 0 or a NULL is set.
#:
This does not display information about the relocation that is currently
being executed. This displays information about the relocation that was
performed in the previous cycle.
8-8
How to obtain the variable parts (nnnn and xx) in REXX variable
names
To view volume and pool information from the host-discovered array
structure, you need the following information for the storage system to
identify the volume or pool: serial number (nnnnn in SNnnnnn), control unit
number (xx in CUxx), command control address (xx in CCAxx), and pool ID
(xx in POOLxx). You can obtain these values from the REXX variable values in
the tiering policy group structure, host-discovered array index structure, or
device information structure. Use the obtained values to create a REXX
variable name for the host-discovered array structure, and then view the
information. For details, see the sample scripts in which the corresponding
commands are used.
Example of the KTQRYDEV command
This example shows how to obtain the storage system's serial number
(SN), CU number, and command control address from the device
information structure, create the REXX variable name for the hostdiscovered array structure, and then view the tiering policy level of the
volume. In this example, the prefix of the host-discovered array structure
is assumed to be DEMO_STEM.
sym_SN = 'SN' || DEMO_STEM.SerialNum
sym_CU = 'CU' || DEMO_STEM.CUNum
sym_CCA = 'CCA' || DEMO_STEM.CCA
TierLevel = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.TierLevel
Related topics
8-9
Description
--
TPG.
ID
--
VOL.
n.
SerialNum
CUNum
CCA
POOLID
Storage system ID
SSID
TierLevel
Entry
TierRelocation
--
IO.
Interval
8-10
Description
SerialNum
CUNum
CCA
POOLID
8-11
8-12
9
Collecting trace information and logs
This chapter describes collecting trace information and logs for Tiered Storage
Manager for Mainframe.
Information that can be used for troubleshooting
Collecting trace information
Log types for Tiered Storage Manager for Mainframe
Collecting event logs
Collecting event logs by using the system logger service
Collecting event logs without using the system logger service
Collecting ISPF logs
Collecting the CLI command-execution log
9-1
Description
Trace information
Trace information includes user operations and macros issued to the storage
system. It is saved in memory and can be used to help analyze the causes of
errors. In Tiered Storage Manager for Mainframe, trace information saved in
memory is output to an ABEND dump if a CLI command terminates abnormally.
Logs
Error messages and trace information (event log) are collected in log
datasets.
Log data for the CLI commands executed in the ISPF panel are collected in
ISPF log dataset.
Related topics
Log types for Tiered Storage Manager for Mainframe on page 9-3
9-2
Procedure
1.
2.
3.
4.
Table 9-2 Log types for Tiered Storage Manager for Mainframe
Log type
Collected information
Event log
ISPF log
Messages
Time-stamps
Parameters
Execution results
Output destination
SYSLOG
Related topics
9-3
Use the system logger service to output event logs to a log stream, and
then use the Tiered Storage Manager for Mainframe tool to output the
event logs from the log stream to a dataset.
Output event logs to a Tiered Storage Manager for Mainframe log dataset
without using the system logger service.
Related topics
Collecting event logs by using the system logger service on page 9-5
Collecting event logs without using the system logger service on page
9-16
9-4
Related topics
Collecting event logs by using the system logger service on page 9-5
Collecting event logs without using the system logger service on page
9-16
Settings for collecting event logs when using the system logger
service
This subsection describes the settings for collecting event logs by using the
system logger service.
To collect event logs by using the system logger service, the settings for
using the system logger service must be specified.
To use the DASD-only log stream for the system logger service, perform all
sysplex setup procedures described in the manual MVS Setting Up a Sysplex
to set up the sysplex.
Care must be taken with the items shown in the following table during setup
of the system logger service.
9-5
Table 9-3 Items that require care during setup of the system logger
service
Item
Required/
optional
Remarks
Required
--
Optional
Required
--
Optional
Required
--
Related topics
Defining the SMS for the system logger service on page 9-6
Management class
Storage class
Data class
ACS routine
9-6
Allocate one Tiered Storage Manager for Mainframe log stream to a system.
In the sysplex environment, allocate one log stream to each system in which
Tiered Storage Manager for Mainframe is started.
Procedure
1.
2.
Related topics
CLASS: FACILITY
RESOURCE: MVSADMIN.LOGR
Permission: ALTER permission or READ permission
CLASS: LOGSTRM
RESOURCE: Log stream name
Permission: ALTER permission
9-7
Procedure
1.
Tip: To stop the system logger service, execute the FORCE IXGLOGR,ARM
command. To restart the system logger service that was stopped by the
FORCE IXGLOGR,ARM command, use the S IXGLOGRS command.
For the system name 1SYS starting with a number and consisting of
less than five characters:
YKS is added to the system name to create YKS1SYS.
For the system name 1SYSTEM starting with a number and consisting
of more than five characters:
YKS is added to the last five characters YSTEM to create YKSYSTEM.
For the system names 1SYSTEM and 2SYSTEM, both of which start with
numbers and consist of more than five characters:
YKS is added to the last five characters YSTEM to create YKSYSTEM,
which results in two identical system names. In this case, the system
name (&SYSNAME) specified for the IEASYSxx parmlib member must be
changed.
For details about system names, see the manual MVS Initialization and
Tuning Reference.
DASDONLY(YES)
Specify YES to make the log stream a DASD-only log stream.
9-8
MAXBUFSIZE(maxbufsize)
Maximum block size of a log. Specify 64000 (bytes).
STG_SIZE(stg_size)
Specify the size of the staging dataset. Specify a value in the range from
100 (400KB) to 1000 (4MB).
Do not specify this parameter when using an SMS definition.
STG_DATACLAS(stg_dataclas)
Specify the name of the SMS data class used for allocating the DASD
staging dataset for this log stream. Specify this parameter when using an
SMS definition.
STG_MGMTCLAS(stg_mgmtclas)
Specify the name of the SMS management class used for allocating the
DASD staging dataset for this log stream. Specify this parameter when
using an SMS definition.
STG_STORCLAS(stg_storclas)
Specify the name of the SMS storage class used for allocating the DASD
staging dataset for this log stream. Specify this parameter when using an
SMS definition.
LS_SIZE(ls_size)
Specify the size of the DASD log dataset. Specify any size.
The required size depends on the frequency of the output of event log
data from the log stream to a dataset and how event log data is deleted.
Specify an appropriate value to prevent the dataset from being full.
Do not specify this parameter when using an SMS definition.
LS_DATACLAS(ls_dataclas)
Specify the name of the SMS data class used for allocating a log dataset.
Specify this parameter when using an SMS definition.
LS_MGMTCLAS(ls_mgmtclas)
Specify the name of the SMS management class used for allocating a log
dataset. Specify this parameter when using an SMS definition.
LS_STORCLAS(ls_storclas)
Specify the name of the SMS storage class used for allocating a log
dataset. Specify this parameter when using an SMS definition.
AUTODELETE(YES)
Specify this parameter when automatically deleting event log data.
RETPD(retpd)
Specify this parameter when automatically deleting event log data.
Specify the number of days to retain event log data in the log stream.
HLQ(CCENTRAL)
This parameter specifies that CCENTRAL is the high level qualifier used as
a part of the log dataset name. This parameter is optional. If this
9-9
parameter is not specified, the default high level qualifier IXGLOGR will be
a part of the log dataset name.
The specification of the following parameters is optional.
HIGHOFFLOAD
LOWOFFLOAD
LIKE
MODEL
DIAG
Preventing the event log from becoming full when the system logger
service is used
This subsection describes how to prevent the event log from becoming full
when the system logger service is used.
Procedure
1.
9-10
Related topics
Procedure
1.
2.
Use the event log data output tool (KTLOGCP) to output all log data from
the log stream to a dataset.
3.
4.
5.
Related topics
Outputting logs by using the event log data output tool on page 9-13
Restarting the system logger service and re-defining the log stream
when the event log is full
If a log dataset is full, execution of CLI commands will continue, but event log
data will no longer be output. The log stream cannot be deleted during
execution of a CLI command. Therefore, if the CLI command cannot be
stopped when a log dataset is full, you can restart the system logger service
and then delete and re-define the log stream to resume the output of event
log data.
Procedure
1.
9-11
2.
3.
4.
Related topics
Disk space requirements for the event log when the system logger
service is used
The following table shows the amount of log data when the system logger
service is used to output the event log.
Table 9-4 Amount of event log data when the system logger service is
used
Number per
command
Size#1
68 + message
length#2
Number of output
messages
68 + CCW length#2
224
224
Time-stamps
96
224
#1
The size is rounded up to a multiple of 32 before being output.
#2
The maximum length is 256 bytes.
9-12
Estimating the dataset (OUTLOG) to which logs are output from the
log stream
Estimate the disk capacity based on the amount of offloaded event log data
and the retention period.
Procedure
1.
Determine the conditions for event log data to be output (start time, end
time, and job name).
2.
3.
9-13
//
RECFM=VB,LRECL=8192,BLKSIZE=32760,
//
SPACE=(CYL,(100,10)),VOL=SER=WKVL01,UNIT=DASD
//SYSPRINT DD SYSOUT=A
//SYSIN
DD *
RANGE STARTTIME(2013/03/24,00:00:00) ENDTIME(2013/03/24,23:59:59)
SELECT COND(JOBNAME,EQ,'USER01T')
SELECT COND(JOBNAME,EQ,'USER01')
/*
4.
Execute KTLOGCP.
Related topics
Control statements for the event log data output tool on page 9-14
Output format of the event log data output tool on page 9-15
1ENDTIME(yyyy/mm/dd[,hh:mm:ss])|
1STARTTIME(yyyy/mm/dd[,hh:mm:ss])|
1ENDTIME(yyyy/mm/dd[,hh:mm:ss])}
9-14
1COND(JOBNAME,EQ,value)
Columns after the 73rd column in a control statement line are ignored.
Table 9-5 Output format of the event log data output tool
Offset
Lengt
h
Output contents
Description
+X'00'
+X'02'
Reserved
'0000'X
+X'04'
Division flag 1
+X'05'
Division flag 2
+X'06'
+X'0E'
9-15
Offset
Lengt
h
Output contents
Description
+X'16'
10
Reserved
+X'20'
Log data
--
Procedure
1.
2.
RECFM: VB
LRECL: 8196
BLKSIZE: 8200
The following shows an example of creating log datasets in TSO/E.
3.
For TSO/E, use the ALLOC command to allocate DD name YKLOG01 and
DD name YKLOG02 to log datasets.
When using JCL, specify DD statement YKLOG01 and DD statement
YKLOG02 in the JCL.
9-16
Allocate a log dataset for each job. When the job terminates, another job can
reuse that log dataset. In this case, logs are added to the end of the previous
log output.
Note, however, that you need to reallocate a new log dataset rather than
using the existing one in the following cases:
Related topics
Disk space requirements for the event log when the system logger service
is not used on page 9-18
Logs are written to YKLOG01. If the log dataset is reused, logs are added
to the end of the previous log output.
2.
3.
If YKLOG02 is also full, logs are written to YKLOG01. In this case, the
existing logs in YKLOG01 are overwritten.
4.
If a log dataset is full and the log output destination is switched, the KTG291I
message (the log dataset is full) and the KTG292I message (the log dataset is
switched) are output to the console. At this time, the KTG291I message
indicates the name of the log dataset that became full. The KTG292I message
indicates the job name and the DD names of log datasets before and after
switching (YKLOG01 or YKLOG02).
Tip: When a log dataset becomes full (KTG291I and KTG292I messages are
output), you can suspend execution of the script and back up the log dataset
indicated in the KTG291I message. However, the log dataset cannot be
backed up if the KTG292I message indicates the same log dataset before and
after switching. This is because an error might have occurred in either log
dataset and the log dataset before switching has been overwritten.
9-17
Disk space requirements for the event log when the system logger
service is not used
The following table shows the amount of log data when the event log is
output without using the system logger service.
Table 9-6 Amount of event log data when the system logger service is not
used
Number per
command
Size#1
100 + message
length#2
Number of output
messages
256
Time-stamps
128
256
#1
The size is rounded up to a multiple of 32 before being output.
#2
9-18
Procedure
1.
2.
Select 5 (Log).
The Browse log panel appears, displaying the contents of the ISPF log.
Procedure
1.
When you start using ISPF, delete the ISPF log information from the ISPF
log dataset.
2.
3.
Select 3 (Keep existing data set and continue with new data set ).
The ISPF log dataset is switched to another dataset.
You must periodically switch the ISPF log dataset to another dataset to
prevent the ISPF log dataset from becoming full.
Tip: If the CLI command terminated abnormally because the ISPF log dataset
was full, in the ISPF end menu ( Specify Disposition of Log Data Set
panel), select 4 (Keep data set - New (allocate new data set in next session))
to save the current ISPF log dataset, and then allocate another dataset.
9-19
Related topics
Procedure
1.
2.
3.
9-20
4.
Use the ISPF editor to display a panel for editing the dataset created in
step 3.
5.
In the ISPF editor panel, enter the following command to delete the lines
other than the CLI command-execution logs.
If the CLI command-execution logs are specified to be output to SYSLOG
(SYSLOG=YES):
exclude p'KTC31#I' all
delete all nx
reset
save
Caution: If the KTC910I message extends to two lines, the second line is
not extracted.
6.
Procedure
1.
2.
3.
4.
5.
9-21
Caution: If the KTC910I message extends to two lines, the second line is not
extracted.
Caution: Care must be taken when executing many CLI commands because
output to SYSLOG increases.
9-22
A
XML document type definitions for
configuration files
This appendix describes the XML document type definitions for configuration
files used by Tiered Storage Manager for Mainframe.
Elements common to configuration files
Elements in the disk configuration definition file
Elements in the tiering policy group definition file
Example of files used by Tiered Storage Manager for Mainframe
A-1
APIInfo element
The APIInfo element contains information about the configuration file.
Structure
<!ELEMENT APIInfo(ANY)>
<!ATTLIST APIInfo
Level
(7.5.0)#REQUIRED
UpdateID CDATA#IMPLIED
>
Description
Level
UpdateID
Last update ID
DiskDevice element
Information about the volumes of the storage system is stored in the
DiskDevice element.
Structure
<!ELEMENT DiskDevice(EMPTY)>
<!ATTLIST DiskDevice
SerialNum CDATA#REQUIRED
CUNum
CDATA#REQUIRED
SSID
CDATA#REQUIRED
CCA
CDATA#REQUIRED
POOLID
CDATA#IMPLIED
Cyls
CDATA#IMPLIED
External
(Y|N)#IMPLIED
>
A-2
Description
SerialNum
CUNum
SSID
Attribute name
Description
CCA
POOLID
Pool ID
Cyls
Volume capacity
External
HostDiscoveredArray element
Information about the storage system is stored in the HostDiscoveredArray
element.
Structure
<!ELEMENT HostDiscoveredArray(SoftwareKeys, POOL*,
HostAddressedDisk*)>
<!ATTLIST HostDiscoveredArray
Description
CDATA#REQUIRED
DADID
ID#REQUIRED
NGDADIDEnable
(0|1)#IMPLIED
SerialNum
CDATA#REQUIRED
Model
(7700E|9900|9900V|USP|USPV|VSP)#REQUIRED
Microcode
CDATA#REQUIRED
IFType
CDATA#REQUIRED
PhysicalSerialNum CDATA#IMPLIED
>
Description
Description
DADID
NGDADIDEnable
SerialNum
Model
Microcode
Microcode number
IFType
Interface version
PhysicalSerialNum
SoftwareKeys element
The SoftwareKeys element is used by the system.
A-3
Structure
<!ELEMENT SoftwareKeys(EMPTY)>
<!ATTLIST SoftwareKeys
TC
(0|1)#REQUIRED
SI
(0|1)#REQUIRED
TCA (0|1)#REQUIRED
UR
(0|1)#REQUIRED
>
POOL element
Information about pools is stored in the POOL element.
Structure
<!ELEMENT POOL(PoolTier*)>
<!ATTLIST POOL
POOLID
CDATA#REQUIRED
NAME
CDATA#IMPLIED
Type
CDATA#REQUIRED
PageSize CDATA#IMPLIED
>
Description
POOLID
Pool ID
NAME
Pool name
Type
PageSize
Page size
PoolTier element
Information about tiers is stored in the PoolTier element.
Structure
<!ELEMENT PoolTier(ENPTY)>
<!ATTLIST PoolTier
Tier
CDATA#REQUIRED
Media CDATA#IMPLIED
>
A-4
Description
Tier number
Attribute name
Description
Attribute of the media that constitutes the pool
Media
0006: Mixed
HostAddressedDisk element
Information about the volumes managed by the host is stored in the
HostAddressedDisk element.
Structure
<!ELEMENT HostAddressedDisk(DiskDevice)>
<!ATTLIST HostAddressedDisk
Devn
CDATA#IMPLIED
Volser
CDATA#IMPLIED
STORGRP CDATA#IMPLIED
>
Description
Devn
Device number
Volser
STORGRP
TieringPolicyGroup element
Information about tiering policy groups is stored in the TieringPolicyGroup
element.
A-5
Structure
<!ELEMENT TieringPolicyGroup(TieringPolicy*)>
<!ATTLIST TieringPolicyGroup
ID CDATA#REQUIRED
>
Description
Tiering policy group name
ID
TieringPolicy element
Information about tiering policies is stored in the TieringPolicy element.
Structure
<!ELEMENT TieringPolicy (DiskDevice *)>
<!ATTLIST TieringPolicy
Level
(0|1|2|3|4|5)#IMPLIED
Entry
(HIGH|MIDDLE|LOW)#IMPLIED
TierRelocation (Y|N)#IMPLIED
>
Description
Level
Entry
TierRelocation
HIGH: The new page is assigned from the higher tier of tiers
set in the tiering policy.
LOW: The new page is assigned from the lower tier of tiers set
in the tiering policy.
Tier relocation
A-6
A-7
</HostAddressedDisk>
<HostAddressedDisk Devn="1201" Volser="VOL011" STORGRP="SG1">
<DiskDevice SerialNum="14001" CUNum="01" SSID="2340" CCA="01"
POOLID="1" />
</HostAddressedDisk>
<HostAddressedDisk Devn="1202" Volser="VOL012" STORGRP="SG1">
<DiskDevice SerialNum="14001" CUNum="01" SSID="2340" CCA="02"
POOLID="1" />
</HostAddressedDisk>
<HostAddressedDisk Devn="2501" Volser="VOL021" STORGRP="SG2">
<DiskDevice SerialNum="14001" CUNum="02" SSID="2340" CCA="01"
POOLID="2" />
</HostAddressedDisk>
<HostAddressedDisk Devn="2502" Volser="VOL022" STORGRP="SG2">
<DiskDevice SerialNum="14001" CUNum="02" SSID="2340" CCA="02"
POOLID="2" />
</HostAddressedDisk>
</HostDiscoveredArray>
</APIInfo>
A-8
/>
/>
/>
/>
/>
B
Commands that can be used in the ISPF
panels
This appendix describes the commands that can be used in the ISPF panels of
Tiered Storage Manager for Mainframe.
ERRCODE
FILTER
FIND
LOCATE
RFIND
SELECT
SORT
How to specify the search or filter conditions in ISPF panels
B-1
ERRCODE
Function
Displays the Error Code Help panel that shows error code details.
Syntax
ERRCODE
Related topics
FILTER
Function
Filters a list according to the specified condition.
Syntax
FILTER[{field-name Filter-condition|RESET}]
Parameters
If you omit the parameters, the Filter Options panel appears to allow you to
enter parameter values.
field-name
Specifies the name of the field for which the filter condition is specified.
Filter-condition
Specifies the condition character string.
RESET
Cancels the filter.
Tip: The filtered results will be sorted in ascending order.
Specification examples
B-2
Range specification
Specify as follows to filter the list by volumes having device numbers from
703B to 7050.
FIL Devn 703B:7050
Related topics
FIND
Function
Searches for a specified character string.
Syntax
FIND[ search-string]
Parameters
If you omit the parameter, the Find Options panel appears to allow you to
enter parameter values.
search-string
Specifies the search string.
Related topics
LOCATE
Function
Searches for the specified character string for a sorted field, and positions the
cursor at the line that matches the specified condition. If the specified
B-3
character string is not found, the cursor is positioned at the line that has the
value nearest to the specified condition.
Syntax
LOCATE[ locate-string]
Parameters
If you omit the parameter, the Locate Options panelappears to allow you to
enter parameter values.
locate-string
Specifies the condition character string.
Related topics
RFIND
Function
Conducts a search again for the character string specified for the FIND
command that was executed immediately before.
Syntax
RFIND
SELECT
Function
Sets or cancels an action in the AC field of a line that satisfies the specified
condition.
Syntax
SELECT[ field-name Select-condition[ {action|RESET}]]
B-4
Parameters
If you omit the parameters, the Select Options panel appears to allow you
to enter parameter values.
field-name
Specifies the name of the field for which the condition is specified.
Select-condition
Specifies the condition character string.
action
Specifies the action to be set in the AC field. If you do not specify any
action, a slash (/) will be set in the AC field. If the panel has only one
action, that action will be set.
RESET
Cancels the action set in the AC field.
Specification examples
Range specification
Specify as follows to cancel the actions set in the AC fields for the
volumes having device numbers from 0F10 to 0F15.
SEL Devn 0F10:0F15 RESET
Related topics
SORT
Function
Sorts information in a displayed list.
B-5
Syntax
SORT[ field-name [{A|D}]]
Parameters
If you omit the parameters, the Sort Options panelappears to allow you to
enter parameter values.
field-name
Specifies the field name as a sort key.
{A|D}
Specifies the sort order.
A: Ascending order
D: Descending order
If you omit this parameter, items in the list will be sorted in ascending
order. If they have already been sorted in ascending order, they will be
sorted in descending order.
Tip: If the list has the PoolID and SN headers and you specify PoolID for
field-name, the information will be sorted by using multiple columns, SN and
PoolID. If the list has the CU and CCA headers and you specify CCA for
field-name, the information will be sorted by using multiple columns, CU and
CCA.
Tip: If you execute the SORT command when the list is filtered, the unfiltered
information is sorted.
Range specification
Use one of the following syntaxes:
B-6
minimum-value:maximum-value
Targets values in the range from minimum-value to maximum-value.
minimum-value:
Targets values that are equal to or greater than minimum-value.
:maximum-value
Targets values that are less than or equal to maximum-value.
Note:
The following table lists the panels (commands) and the specification
methods that can be used.
Generic name
specification
Character
string
specification
characterstring *
Range specification
*
Yes
Yes
Yes
Yes
Yes
--
--
--
Yes
Yes
--
--
Legend:
Yes: Can be specified
--: Cannot be specified
#
If you want to specify a string in the command line, specify it as follows:
B-7
B-8
C
Sample scripts
This appendix provides sample scripts for Tiered Storage Manager for
Mainframe.
List of sample scripts
Details about sample scripts
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-1
Purpose
Command to
be executed
DD name specification or
parameter
Create a disk
configuration
definition file.
KTSCAN
Display the
contents of
the disk
configuration
definition file.
KTGETHDA
Create a
tiering policy
group
definition file.
KTIMPORT
Display the
contents of
the tiering
policy group
definition file.
KTLOAD
Display the
volume
information.
KTQRYDEV
KTDEMO05
Change the
tiering policy
of a volume
back to the
default.
KTDCTDEV
DEVN(device-number)
--
KTDEMO10
Apply the
tiering policy.
KTLOAD
PREFIX(prefix)
--
KTACTTPG
TPG(tiering-policy-groupID)
Check the
tiering policy.
KTLOAD
PREFIX(prefix)
KTQRYTPG
TPG(tiering-policy-groupID)
Check the
page
relocation
status of
volumes.
KTLOAD
PREFIX(prefix)
KTQRYTPG
TPG(tiering-policy-groupID)
Check the
relocation
progress.
KTLOAD
PREFIX(prefix)
KTQRYTPG
TPG(tiering-policy-groupID)
KTDEMO00
KTDEMO01
KTDEMO02
KTDEMO03
KTDEMO04
KTDEMO11
KTDEMO12
KTDEMO13
C-2
KTSTORE
Relevant REXX
variable structure
--
PREFIX(prefix)
DD name: KTDSKDD diskconfiguration-definition-file
Host-discovered array
index structure
Host-discovered array
structure
PREFIX(prefix)
--
POLICY(policy-ID)
Host-discovered array
structure
Tiering policy group
structure
DEVN(device-number)
Host-discovered array
structure
Device information
structure
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
Host-discovered array
structure
Tiering policy group
structure
Host-discovered array
structure
Tiering policy group
structure
Host-discovered array
index structure
Sample
script name
Purpose
Command to
be executed
DD name specification or
parameter
Relevant REXX
variable structure
Host-discovered array
structure
KTQRYRLC
Check I/O
performance
information.
KTLOAD
PREFIX(prefix)
KTQSTATS
TPG(tiering-policy-groupID)
INTERVAL(displayinterval)#2
Host-discovered array
structure
Tiering policy group
structure
#1
Specify the values of the FROM and TO parameters, the FROMVSN and TOVSN
parameters, or the STORGRP parameter of the KTSCAN command for scan
range list. The following shows an example of a record:
DEVN 0000 00FF
VOLSER VOL001 VOL009
STORGRP GRPNAME
#2
Processing is performed repeatedly at the intervals (seconds) specified for
INTERVAL until the processing is canceled.
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-3
/*
in the script's argument.
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
SAY "#-- BEGIN KTDEMO00.";
/*
* Parse argument specified in the EXEC command
*/
PARSE UPPER ARG
@options
PARSE UPPER VALUE @options 'PREFIX()'
with 'PREFIX('opt_prefix')';
/* Check option values. */
IF opt_prefix = '' THEN DO
SAY "Please specify PREFIX() value in the argument.";
EXIT 8;
END;
/*
* Read all records from DD(KTINDD) dataset.
*/
ADDRESS TSO "EXECIO * DISKR KTINDD (FINIS STEM scan_range.";
IF RC /= 0 THEN DO
SAY 'Dataset(KTINDD) read error occurred. rc='RC;
EXIT 8;
END;
/*
* Parse each record of DD(KTINDD) dataset.
*/
ScannedVolumeIsFound='N';
ScanFailed='N';
DO i=1 to scan_range.0;
/*
* Parse scan range list record.
*/
recordStr = SUBSTR(scan_range.i,1,72);
PARSE VAR recordStr scan_type scan_from scan_to .
/*
* Scan volumes by DEVN or VOLSER or STORGRP range,
* and add volume information
* to REXX variables of the STEM() operand specified.
*/
IF scan_type='DEVN' THEN DO
SAY 'Executing KTSCAN DEVN= 'scan_from' - 'scan_to;
CALL KTSCAN "STEM(DEMO_STEM.) MSG(DEMO_MSG.) ARRAYS(DEMO_SCAN.)",
" FROM("scan_from") TO("scan_to")";
END;
ELSE IF scan_type='VOLSER' THEN DO
SAY 'Executing KTSCAN VOLSER= 'scan_from' - 'scan_to;
CALL KTSCAN "STEM(DEMO_STEM.) MSG(DEMO_MSG.) ARRAYS(DEMO_SCAN.)",
" FROMVSN("scan_from") TOVSN("scan_to")";
END;
ELSE IF scan_type='STORGRP' THEN DO
SAY 'Executing KTSCAN STORGRP= 'scan_from;
CALL KTSCAN "STEM(DEMO_STEM.) MSG(DEMO_MSG.) ARRAYS(DEMO_SCAN.)",
" STORGRP("scan_from")";
END;
ELSE DO
SAY 'Ignore KTINDD LINE='recordStr
ITERATE;
END;
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT > 8 THEN
ScanFailed='Y';
ELSE IF RESULT < 8 THEN
C-4
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
ScannedVolumeIsFound='Y';
IF RESULT > 0 THEN
CALL printErrorMessage "KTSCAN" RESULT;
END;
IF ScanFailed='Y' THEN DO
SAY 'KTSCAN error occurred.';
EXIT 8;
END;
IF ScannedVolumeIsFound /='Y' THEN DO
SAY 'Scanned volume is nothing.';
EXIT 4;
END;
/*
* Store scanned volumes information to the DSK configuration dataset.
*
*/
CALL KTSTORE "STEM(DEMO_STEM.) MSG(DEMO_MSG.) ARRAYS(DEMO_SCAN.)",
" PREFIX("opt_prefix") DSK";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTSTORE" RESULT;
EXIT 8;
END;
SAY "#-- END KTDEMO00." /* The sample script completed. */
EXIT 0;
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
ARG cli_name cli_result;
SAY "Command name=" || cli_name || ",result=" || cli_result;
IF DATATYPE(DEMO_MSG.0) = 'NUM' THEN
DO x = 1 to DEMO_MSG.0;
SAY "Severity = " || DEMO_MSG.x.Severity;
SAY "Text
= " || DEMO_MSG.x.Text;
SAY "Value
= " || DEMO_MSG.x.Value;
END;
RETURN 0;
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-5
/*
*/
/**********************************************************************/
/* Sample script begins. */
SAY "#-- BEGIN KTDEMO01.";
/*
* Get dataset name of ddname KTDSKDD.
*/
fc = LISTDSI("KTDSKDD" "FILE");
IF fc > 4 THEN DO
SAY 'DD(KTDSKDD) is not allocated or invalid.';
EXIT 8;
END;
/*
* Get prefix and serialNum from dataset name.
*/
PARSE VAR sysdsname val_prefix'.DSK.SN'val_SN'.'val_dadid;
/*
* Read DSK configuration file and set pool/volume information
* to REXX variables.
*/
CALL KTGETHDA "STEM(DEMO_STEM.) MSG(DEMO_MSG.)",
" PREFIX("val_prefix") SN("val_SN")";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTGETHDA" RESULT;
EXIT 8;
END;
/*
* Display values in the DSK configuration file.
*/
DO k=1 to HCC.HDAKT.0;
val_SN = HCC.HDAKT.k.SerialNum;
sym_SN = 'SN'||val_SN;
/* Display storage system information. */
SAY '';
SAY 'DKC';
SAY ' SN:'
||DEMO_STEM.LOCAL.sym_SN.SerialNum||,
',Model:'
||DEMO_STEM.LOCAL.sym_SN.Model||,
',Microcode:' ||DEMO_STEM.LOCAL.sym_SN.Microcode||,
',IFType:'
||DEMO_STEM.LOCAL.sym_SN.IFType;
/* Find first pool from POOLMap. */
val_POOLMap = VALUE("HCC.HDAKT."||k||".POOLMap");
pos_POOLID = POS('1',val_POOLMap, 1);
/*
* Display pool values in the DSK configuration file.
*/
SAY '';
SAY 'Pools';
SAY '
ID, Type,Pool Name
,Tier1,Tier2,Tier3';
DO WHILE(pos_POOLID /= 0);
val_POOLID = pos_POOLID - 1;
sym_POOLID = 'POOL'||D2X(val_POOLID, 2);
/*
* Get information values about the pool
* from DSK structure REXX variables.
*/
val_Name
= DEMO_STEM.LOCAL.sym_SN.sym_POOLID.NAME;
val_Type
= DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Type;
val_PageSize = DEMO_STEM.LOCAL.sym_SN.sym_POOLID.PageSize;
C-6
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
val_Media = '';
TierCt = DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.0;
IF DATATYPE(TierCt) /= 'NUM' THEN
TierCt = 0;
DO t=1 to TierCt;
/* Get pool's drive media information */
IF val_Media = '' THEN
val_Media = convertMediaType(,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.Media);
ELSE
val_Media = val_Media','convertMediaType(,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.Media);
END;
/* Display pool information. */
SAY ' 'RIGHT(val_POOLID,3)','RIGHT(val_Type,5)||,
','LEFT(val_Name,32)','val_Media;
/* Find next pool from POOLMap. */
pos_POOLID = POS('1', val_POOLMap, pos_POOLID+1);
END;
SAY '';
SAY 'Volumes';
SAY ' Devn,Volser,STORGRP ,CU,SSID,CCA,POOLID, Cylinders,Ext';
/* Find first cu from CUMap. */
val_CUMap = VALUE("HCC.HDAKT."||k||".CUMap");
pos_CU
= POS('1',val_CUMap, 1);
DO WHILE(pos_CU /= 0);
hex_CU = D2X(pos_CU-1, 2);
sym_CU = 'CU'||hex_CU;
/* Find first CCA from CCAMap. */
val_CCAMap = VALUE("HCC.HDAKT."||k||"."||sym_CU||".CCAMAP");
pos_CCA
= POS('1',val_CCAMap, 1); /* Find mapped CCA. */
DO WHILE(pos_CCA /= 0);
hex_CCA = D2X(pos_CCA-1, 2);
sym_CCA = 'CCA'||hex_CCA;
/*
* Get information values about the volume
* from DSK structure REXX variables.
*/
val_devn
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Devn;
val_Volser
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Volser;
val_STORGRP = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.STORGRP;
val_SSID
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.SSID;
val_POOLID
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.POOLID;
val_Cyls
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Cyls;
val_External = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.External;
/* Display volume information. */
SAY ' 'RIGHT(val_devn,4)','LEFT(val_Volser,6)||,
','LEFT(val_STORGRP,8)||,
','hex_CU','val_SSID', 'hex_CCA','RIGHT(val_POOLID,6)||,
','RIGHT(val_Cyls,10)','RIGHT(val_External,3);
/* Find next CCA from CCAMap. */
pos_CCA = POS('1',val_CCAMap, pos_CCA+1);
END;
/* Find next CU from CUMap. */
pos_CU = POS('1',val_CUMap, pos_CU+1);
END;
END;
SAY "#-- END KTDEMO01."; /* The sample script completed. */
EXIT 0;
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-7
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
ARG cli_name cli_result;
SAY "Command name=" || cli_name || ",result=" || cli_result;
IF DATATYPE(DEMO_MSG.0) = 'NUM' THEN
DO x = 1 to DEMO_MSG.0;
SAY "Severity = " || DEMO_MSG.x.Severity;
SAY "Text
= " || DEMO_MSG.x.Text;
SAY "Value
= " || DEMO_MSG.x.Value;
END;
RETURN 0;
/*
* convertMediaType: This procedure converts from media type value
*
(<stem>LOCAL.SNnnnnn.POOLxx.Tier.n.Media in the DSK structure)
*
to media type description string.
*/
convertMediaType: procedure
ARG mediaTypeValue;
IF
mediaTypeValue = '0000' THEN
mediaTypeStr = 'SSD';
ELSE IF mediaTypeValue = '0001' THEN
mediaTypeStr = 'SAS 15K';
ELSE IF mediaTypeValue = '0002' THEN
mediaTypeStr = 'SAS 10K';
ELSE IF mediaTypeValue = '0003' THEN
mediaTypeStr = 'SATA 7.2K';
ELSE IF mediaTypeValue = '0004' THEN
mediaTypeStr = 'EXTERNAL M';
ELSE IF mediaTypeValue = '0005' THEN
mediaTypeStr = 'SAS 7.2K';
ELSE IF mediaTypeValue = '0006' THEN
mediaTypeStr = 'MIXED MEDIA';
ELSE IF mediaTypeValue = '0007' THEN
mediaTypeStr = 'EXTERNAL H';
ELSE IF mediaTypeValue = '0008' THEN
mediaTypeStr = 'EXTERNAL L';
ELSE
mediaTypeStr = '';
mediaTypeStr = '"'mediaTypeStr'"';
RETURN mediaTypeStr;
C-8
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
/*
4) The CSV and DSK dataset name's prefix is PREFIX() option
*/
/*
value in the script's argument.
*/
/*
If argument is "PREFIX(KT.DEMO) POLICY(POLICY1)",
*/
/*
CSV dataset name is : KT.DEMO.POLICY.POLICY1
*/
/*
DSK dataset name is : KT.DEMO.DSK.SNnnnnn.LOCAL
*/
/*
nnnnn is serial number
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
SAY "#-- BEGIN KTDEMO02.";
/*
* Parse argument
*/
PARSE UPPER ARG
PARSE UPPER VALUE
PARSE UPPER VALUE
with 'POLICY('opt_policyid')';
with 'PREFIX('opt_prefix')';
/*
* Check option values in the argument.
*/
IF opt_policyid = '' THEN DO
SAY "Please specify POLICY() value in the argument.";
EXIT 8;
END;
IF opt_prefix = '' THEN DO
SAY "Please specify PREFIX() value in the argument.";
EXIT 8;
END;
/*
* Parse tiering policy information CSV file
* and create TPG configuration file(s).
*/
CALL KTIMPORT "MSG(DEMO_MSG.)",
" PREFIX("opt_prefix") POLICY("opt_policyid")";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTIMPORT" RESULT;
EXIT 8;
END;
SAY "#-- END KTDEMO02."; /* The sample script completed. */
EXIT 0;
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
ARG cli_name cli_result;
SAY "Command name=" || cli_name || ",result=" || cli_result;
IF DATATYPE(DEMO_MSG.0) = 'NUM' THEN
DO x = 1 to DEMO_MSG.0;
SAY "Severity = " || DEMO_MSG.x.Severity;
SAY "Text
= " || DEMO_MSG.x.Text;
SAY "Value
= " || DEMO_MSG.x.Value;
END;
RETURN 0;
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-9
C-10
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
val_Entry
= DEMO_STEM.TPG.VOL.i.Entry;
val_TierRelocation= DEMO_STEM.TPG.VOL.i.TierRelocation;
/*
* Generate symbol which is part of the DSK structure REXX variable
* name.
*/
sym_SN = 'SN' ||val_SN;
sym_CU = 'CU' ||val_CU;
sym_CCA = 'CCA'||val_CCA;
/*
* Get information values about the volume
* from DSK structure REXX variables.
*/
val_Devn
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Devn;
val_Volser = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Volser;
val_STORGRP= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.STORGRP;
val_SSID
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.SSID;
val_POOLID = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.POOLID;
val_Cyls
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Cyls;
/*
* Display volume information in the TPG.
*/
SAY ' 'RIGHT(val_Devn,4)','LEFT(val_Volser,6)||,
','LEFT(val_STORGRP,8)','val_SN','val_CU||,
','val_SSID', 'val_CCA','RIGHT(val_POOLID,6)||,
','RIGHT(val_TierLevel,3)','RIGHT(val_Entry,6)||,
','RIGHT(val_TierRelocation,5)||,
','RIGHT(val_Cyls,10);
END;
SAY "#-- END KTDEMO03."; /* The sample script completed. */
EXIT 0;
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
ARG cli_name cli_result;
SAY "Command name=" || cli_name || ",result=" || cli_result;
IF DATATYPE(DEMO_MSG.0) = 'NUM' THEN
DO x = 1 to DEMO_MSG.0;
SAY "Severity = " || DEMO_MSG.x.Severity;
SAY "Text
= " || DEMO_MSG.x.Text;
SAY "Value
= " || DEMO_MSG.x.Value;
END;
RETURN 0;
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-11
/*
This sample script assumes the following settings.
*/
/*
1) Device number of target (want to get storage information)
*/
/*
volume is specified in the DEVN() option value
*/
/*
in the script's argument.
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
SAY "#-- BEGIN KTDEMO04.";
/*
* Parse argument specified in the EXEC command.
*/
PARSE UPPER ARG
@options
PARSE UPPER VALUE @options 'DEVN()'
with 'DEVN('opt_devn')';
/*
* Check option values in the argument.
*/
IF opt_devn = '' THEN DO
SAY "Please specify DEVN() value in the argument.";
EXIT 8;
END;
/*
* Query tiering policy to the target volume.
*/
CALL KTQRYDEV "STEM(DEMO_STEM.) MSG(DEMO_MSG.) DEVN("opt_devn")";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTQRYDEV" RESULT;
EXIT 8;
END;
val_SN
val_CU
val_CCA
val_POOLID
=
=
=
=
DEMO_STEM.SerialNum;
DEMO_STEM.CUNum;
DEMO_STEM.CCA;
DEMO_STEM.POOLID;
sym_SN
sym_CU
sym_CCA
= 'SN' ||val_SN;
= 'CU' ||val_CU;
= 'CCA' ||val_CCA;
SAY 'DKC';
SAY ' SN:'
',Model:'
',Microcode:'
',IFType:'
||DEMO_STEM.LOCAL.sym_SN.SerialNum||,
||DEMO_STEM.LOCAL.sym_SN.Model||,
||DEMO_STEM.LOCAL.sym_SN.Microcode||,
||DEMO_STEM.LOCAL.sym_SN.IFType;
IF DATATYPE(val_POOLID)='NUM' THEN DO
/*
* Display Pool values in the volume specified in the DEVN().
*/
SAY '';
SAY 'Pool';
SAY '
ID, Type,Pool Name
,'||,
'Media(Tier1,Tier2,Tier3)';
/* Get pool information. */
sym_POOLID
= 'POOL'||D2X(val_POOLID,2);
val_Name
= DEMO_STEM.LOCAL.sym_SN.sym_POOLID.NAME;
val_Type
= DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Type;
val_PageSize = DEMO_STEM.LOCAL.sym_SN.sym_POOLID.PageSize;
val_Media = '';
TierCt = DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.0;
IF DATATYPE(TierCt) /= 'NUM' THEN
TierCt = 0;
C-12
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
DO t=1 to TierCt;
/* Get pool's drive media information. */
IF val_Media = '' THEN
val_Media = convertMediaType(,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.Media);
ELSE
val_Media = val_Media','convertMediaType(,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.Media);
END;
/* Display pool information. */
SAY ' 'RIGHT(val_POOLID,3)','RIGHT(val_Type,5)||,
','LEFT(val_Name,32)','val_Media;
END;
SAY '';
SAY 'Volume';
SAY ' Devn,Volser,CU,SSID,CCA,POOLID,TLv, Entry,Reloc';
/*
* Get information values about the volume
* from DSK structure REXX variables.
*/
val_Devn
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Devn;
val_Volser
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Volser;
val_SSID
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.SSID;
val_POOLID
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.POOLID;
val_TierLevel = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.TierLevel;
val_Entry
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Entry;
val_TierRelocation = ,
DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.TierRelocation;
/*
* Display volume information in the TPG.
*/
SAY ' 'RIGHT(val_Devn,4)','LEFT(val_Volser,6)||,
','val_CU','val_SSID', 'val_CCA','RIGHT(val_POOLID,6)||,
','RIGHT(val_TierLevel,3)||,
','RIGHT(val_Entry,6)','RIGHT(val_TierRelocation,5);
SAY "#-- END KTDEMO04."; /* The sample script completed. */
EXIT 0;
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
ARG cli_name cli_result;
SAY "Command name=" || cli_name || ",result=" || cli_result;
IF DATATYPE(DEMO_MSG.0) = 'NUM' THEN
DO x = 1 to DEMO_MSG.0;
SAY "Severity = " || DEMO_MSG.x.Severity;
SAY "Text
= " || DEMO_MSG.x.Text;
SAY "Value
= " || DEMO_MSG.x.Value;
END;
RETURN 0;
/*
* convertMediaType: This procedure converts from media type value
*
(<stem>LOCAL.SNnnnnn.POOLxx.Tier.n.Media in the DSK structure)
*
to media type description string.
*/
convertMediaType: procedure
ARG mediaTypeValue;
IF
mediaTypeValue = '0000' THEN
mediaTypeStr = 'SSD';
ELSE IF mediaTypeValue = '0001' THEN
mediaTypeStr = 'SAS 15K';
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-13
C-14
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTDCTDEV" RESULT;
EXIT 8;
END;
SAY "#-- END KTDEMO05."; /* The sample script completed. */
EXIT 0;
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
ARG cli_name cli_result;
SAY "Command name=" || cli_name || ",result=" || cli_result;
IF DATATYPE(DEMO_MSG.0) = 'NUM' THEN
DO x = 1 to DEMO_MSG.0;
SAY "Severity = " || DEMO_MSG.x.Severity;
SAY "Text
= " || DEMO_MSG.x.Text;
SAY "Value
= " || DEMO_MSG.x.Value;
END;
RETURN 0;
with 'TPG('opt_tpgid')';
with 'PREFIX('opt_prefix')';
/*
* Check option values in the argument.
*/
IF opt_tpgid = '' THEN DO
SAY "Please specify TPG() value in the argument.";
EXIT 8;
END;
IF opt_prefix = '' THEN DO
SAY "Please specify PREFIX() value in the argument.";
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-15
EXIT 8;
END;
/*
* Load TPG configuration file and set information to REXX variables.
*/
CALL KTLOAD "STEM(DEMO_STEM.) MSG(DEMO_MSG.)",
" PREFIX("opt_prefix") TPG("opt_tpgid")";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTLOAD" RESULT;
EXIT 8;
END;
/*
* Set tiering policy to each volume in the TPG.
*/
CALL KTACTTPG "STEM(DEMO_STEM.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTACTTPG" RESULT;
EXIT 8;
END;
SAY "#-- END KTDEMO10."; /* The sample script completed. */
EXIT 0;
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
ARG cli_name cli_result;
SAY "Command name=" || cli_name || ",result=" || cli_result;
IF DATATYPE(DEMO_MSG.0) = 'NUM' THEN
DO x = 1 to DEMO_MSG.0;
SAY "Severity = " || DEMO_MSG.x.Severity;
SAY "Text
= " || DEMO_MSG.x.Text;
SAY "Value
= " || DEMO_MSG.x.Value;
END;
RETURN 0;
C-16
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
/*
value in the script's argument.
*/
/*
3) Tiering Policy Group ID of the TPG configuration dataset is */
/*
specified in TPG() option value in the script's argument.
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
SAY "#-- BEGIN KTDEMO11.";
/*
* Parse argument
*/
PARSE UPPER ARG
PARSE UPPER VALUE
PARSE UPPER VALUE
with 'TPG('opt_tpgid')';
with 'PREFIX('opt_prefix')';
/*
* Check option values in the argument.
*/
IF opt_tpgid = '' THEN DO
SAY "Please specify TPG() value in the argument.";
EXIT 8;
END;
IF opt_prefix = '' THEN DO
SAY "Please specify PREFIX() value in the argument.";
EXIT 8;
END;
/*
* Load TPG configuration file and set information to REXX variables.
*/
CALL KTLOAD "STEM(DEMO_STEM.) MSG(DEMO_MSG.)",
" PREFIX("opt_prefix") TPG("opt_tpgid")";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTLOAD" RESULT;
EXIT 8;
END;
/*
* Get tiering policy setting values of volume in the TPG and
* tier status of volumes and pools in the TPG to REXX variables.
*/
CALL KTQRYTPG "STEM(DEMO_STEM.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTQRYTPG" RESULT;
EXIT 8;
END;
/*
* Display values in the TPG configuration file.
*/
SAY 'Tiering Policy Group Name: '||DEMO_STEM.TPG.ID;
SAY '';
SAY 'Volumes';
SAY ' Devn,Volser,STORGRP ,SN
,CU,SSID,CCA,POOLID'||,
',TLv, Entry,Reloc'
DO i=1 to DEMO_STEM.TPG.VOL.0;
/*
* Generate symbol which is part of the DSK structure REXX variable
* name.
*/
val_SN = DEMO_STEM.TPG.VOL.i.SerialNum;
val_CU = DEMO_STEM.TPG.VOL.i.CUNum;
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-17
val_CCA
sym_SN
sym_CU
sym_CCA
=
=
=
=
DEMO_STEM.TPG.VOL.i.CCA;
'SN' ||val_SN;
'CU' ||val_CU;
'CCA'||val_CCA;
/*
* Get information values about the volume
* from DSK structure REXX variables.
*/
val_Devn
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Devn;
val_Volser
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Volser;
val_STORGRP
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.STORGRP;
val_SSID
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.SSID;
val_POOLID
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.POOLID;
val_TierLevel = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.TierLevel;
val_Entry
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Entry;
val_TierRelocation = ,
DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.TierRelocation;
/*
* Display volume information in the TPG.
*/
SAY ' 'RIGHT(val_Devn,4)','LEFT(val_Volser,6)||,
','LEFT(val_STORGRP,8)','val_SN','val_CU||,
','val_SSID', 'val_CCA','RIGHT(val_POOLID,6)||,
','RIGHT(val_TierLevel,3)||,
','RIGHT(val_Entry,6)','RIGHT(val_TierRelocation,5);
END;
SAY "#-- END KTDEMO11."; /* The sample script completed. */
EXIT 0;
/*
* printErrorMessage: This procedure prints all of the error messages
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
ARG cli_name cli_result;
SAY "Command name=" || cli_name || ",result=" || cli_result;
IF DATATYPE(DEMO_MSG.0) = 'NUM' THEN
DO x = 1 to DEMO_MSG.0;
SAY "Severity = " || DEMO_MSG.x.Severity;
SAY "Text
= " || DEMO_MSG.x.Text;
SAY "Value
= " || DEMO_MSG.x.Value;
END;
RETURN 0;
C-18
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
/*
value in the script's argument.
*/
/*
3) Tiering Policy Group ID of the TPG configuration dataset is */
/*
specified in TPG() option value in the script's argument.
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
SAY "#-- BEGIN KTDEMO12.";
NUMERIC DIGITS 10
/*
* Parse argument
*/
PARSE UPPER ARG
PARSE UPPER VALUE
PARSE UPPER VALUE
with 'TPG('opt_tpgid')';
with 'PREFIX('opt_prefix')';
/*
* Check option values in the argument.
*/
IF opt_tpgid = '' THEN DO
SAY "Please specify TPG() value in the argument.";
EXIT 8;
END;
IF opt_prefix = '' THEN DO
SAY "Please specify PREFIX() value in the argument.";
EXIT 8;
END;
/*
* Load TPG configuration file and set information to REXX variables.
*/
CALL KTLOAD "STEM(DEMO_STEM.) MSG(DEMO_MSG.)",
" PREFIX("opt_prefix") TPG("opt_tpgid")";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTLOAD" RESULT;
EXIT 8;
END;
/*
* Get tiering policy setting values of volume in the TPG and
* tier status of volumes and pools in the TPG to REXX variables.
*/
CALL KTQRYTPG "STEM(DEMO_STEM.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTQRYTPG" RESULT;
EXIT 8;
END;
SAY 'Tiering Policy Group Name: '||DEMO_STEM.TPG.ID;
SAY '';
SAY 'Volumes Tier Status';
SAY '
POOL';
SAY ' Devn,Volser,SN
,CU,CCA, ID,TLv,Cylinders,'||,
'Tier1Page,Tier2Page,Tier3Page';
DO i=1 to DEMO_STEM.TPG.VOL.0;
/*
* Generate symbol which is part of the DSK structure REXX variable
* name.
*/
val_SN = DEMO_STEM.TPG.VOL.i.SerialNum;
val_CU = DEMO_STEM.TPG.VOL.i.CUNum;
val_CCA = DEMO_STEM.TPG.VOL.i.CCA;
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-19
C-20
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
/*
displays tier page placement status and
*/
/*
relocate progress in the TPG.
*/
/*
*/
/*
This sample script uses the following CLI commands.
*/
/*
- KTLOAD
*/
/*
- KTQRYTPG
*/
/*
- KTQRYRLC
*/
/*
*/
/*
This sample script assumes the following settings.
*/
/*
1) TPG and DSK configuration dataset is already created.
*/
/*
2) The TPG and DSK dataset name's prefix is PREFIX() option
*/
/*
value in the script's argument.
*/
/*
3) Tiering Policy Group ID of the TPG configuration dataset is */
/*
specified in TPG() option value in the script's argument.
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
SAY "#-- BEGIN KTDEMO13.";
NUMERIC DIGITS 11
/* Some rexx value exceed 9digits. */
/*
* Parse argument
*/
PARSE UPPER ARG
PARSE UPPER VALUE
PARSE UPPER VALUE
with 'TPG('opt_tpgid')';
with 'PREFIX('opt_prefix')';
/*
* Check option values in the argument.
*/
IF opt_tpgid = '' THEN DO
SAY "Please specify TPG() value in the argument.";
EXIT 8;
END;
IF opt_prefix = '' THEN DO
SAY "Please specify PREFIX() value in the argument.";
EXIT 8;
END;
/*
* Load TPG configuration file and set information to REXX variables.
*/
CALL KTLOAD "STEM(DEMO_STEM.) MSG(DEMO_MSG.)",
" PREFIX("opt_prefix") TPG("opt_tpgid")";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTLOAD" RESULT;
EXIT 8;
END;
/*
* Get tiering policy setting values of volume in the TPG and
* tier status of volumes and pools in the TPG.
*/
CALL KTQRYTPG "STEM(DEMO_STEM.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTQRYTPG" RESULT;
EXIT 8;
END;
/*
* Get volume/pool relocation progress status in the TPG.
*/
CALL KTQRYRLC "STEM(DEMO_STEM.) MSG(DEMO_MSG.)";
/*
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-21
C-22
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
TierRange.1 = 'Y';
IF val_TLv/=1 & val_TLv/=5 THEN
TierRange.2 = 'Y';
IF val_TLv/=1 & val_TLv/=2 & val_TLv/=3 THEN
TierRange.3 = 'Y';
IF val_TLv=1 | val_TLv=3 | val_TLv=5 THEN
MultiTier
= 'N';
END;
ELSE IF volTierCt=2 THEN DO /* 2tier? */
IF val_TLv /= 5 THEN
TierRange.1 = 'Y';
IF val_TLv /= 1 THEN
TierRange.2 = 'Y';
IF val_TLv=1 | val_TLv=5 THEN
MultiTier
= 'N';
END;
/*
* Calculate page in the tier range for relocate status recognition.
*/
TierRangePageCt = 0;
DO t=1 to volTierCt;
IF TierRange.t = 'Y' THEN DO
TierRangePageCt
= TierRangePageCt
,
+ DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Tier.t.Used;
END;
END;
/*
* Calculate capacity and used in the tier range.
*/
TierRangeCapacity = 0; /* total page count */
TierRangeUsed
= 0; /* used pages count */
TierRangeReserved = 0; /* reserved page count for new & reallocate */
DO t=1 to poolTierCt;
IF TierRange.t = 'Y' THEN DO
ReservedPerCent = 0;
IF DATATYPE(,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.EntryBufferPerCent,
) = 'NUM' THEN DO;
ReservedPerCent = ReservedPerCent + ,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.EntryBufferPerCent;
END;
IF DATATYPE(,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.RelocateBufferPerCent,
) = 'NUM' THEN DO;
ReservedPerCent = ReservedPerCent + ,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.RelocateBufferPerCent;
END;
TierRangeReserved = TierRangeReserved + TRUNC(,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.Capacity,
* ReservedPerCent/100);
TierRangeCapacity = TierRangeCapacity ,
+ DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.Capacity;
TierRangeUsed
= TierRangeUsed
,
+ DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Tier.t.Used;
END;
END;
/*
* Identify relocate status as shown below.
*
ALL: Y=All pages are in the expected Tier(s) of the range
*
capacity: expected Tier(s) capacity
* Relocate%: Pool's RelocatePerCent
*
* ALL Capacity Relocate% MultiTier
relocateStatus
*
Y
any
any
N -> done
*
Y
any
100
Y -> done
*
Y
any
>100
Y -> done or relocating
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-23
*
N
full
any
any -> capacity shortage
*
N not full
100
any -> relocate waiting
*
N not full
>100
any -> relocating
*/
IF TierRangePageCt = val_pageCt THEN DO
/* All pages are in the tier. */
IF MultiTier ='N' THEN /* Tier level is not multi tier? */
relocateStatus = 'done
';
ELSE IF val_RelocatePerCent = 100 THEN
relocateStatus = 'done
';
ELSE
relocateStatus = 'done or relocating';
END;
ELSE DO;
IF TierRangeUsed >= TierRangeCapacity - TierRangeReserved THEN
relocateStatus = 'capacity shortage ';
ELSE IF val_RelocatePerCent = 100 THEN
relocateStatus = 'relocate waiting ';
ELSE
relocateStatus = 'relocating
';
END;
SAY ' 'RIGHT(val_Devn,4)','LEFT(val_Volser,6)||,
','val_SN','val_CU', 'val_CCA||,
','RIGHT(val_POOLID,3)','RIGHT(val_TLv,3)||,
','relocateStatus','RIGHT(TierRangePageCt,11)||,
'/'RIGHT(val_pageCt,10);
END;
/*
* Display pool information.
*/
SAY '';
SAY 'Pools';
SAY '
Relocate'||,
' RelocateTime
MigrationPage';
SAY ' SN
, ID, Type,Monitor,active %,'||,
'Start, End,ExpectedCt,MigratedCt';
DO k=1 to HCC.HDAKT.0;
val_SN = HCC.HDAKT.k.SerialNum;
sym_SN = 'SN'||val_SN;
val_POOLMap = VALUE("HCC.HDAKT."||k||".POOLMap");
pos_POOLID = POS('1',val_POOLMap, 1);
DO WHILE(pos_POOLID /= 0);
val_POOLID = pos_POOLID - 1;
sym_POOLID = 'POOL'||D2X(val_POOLID, 2);
/*
* Get information values about the pool
* from DSK structure REXX variables.
*/
val_Type
= DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Type;
IF val_Type='DT' THEN DO;
val_Auto
= DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Auto;
val_RelocatePerCent
= ,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.RelocatePerCent;
val_RelocateStartTime
= ,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.RelocateStartTime;
val_RelocateEndTime
= ,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.RelocateEndTime;
val_Relocating
= ,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.Relocating;
val_MigratedPageCt
= ,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.MigratedPageCt;
val_ExpectedMigrationPageCt = ,
DEMO_STEM.LOCAL.sym_SN.sym_POOLID.ExpectedMigrationPageCt;
C-24
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-25
C-26
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
/*
This sample script assumes the following settings.
*/
/*
1) TPG and DSK configuration dataset is already created.
*/
/*
2) The TPG and DSK dataset name's prefix is PREFIX() option
*/
/*
value in the script's argument.
*/
/*
3) Tiering Policy Group ID of the TPG configuration dataset is */
/*
specified in TPG() option value in the script's argument.
*/
/*
4) KTQSTATS command interval time is specified in the
*/
/*
INTERVAL() option value in the script's argument.
*/
/*
*/
/**********************************************************************/
/* Sample script begins. */
SAY "#-- BEGIN KTDEMO14.";
NUMERIC DIGITS 10
/* Some rexx value exceed 9digits. */
/*
* Parse argument
*/
PARSE UPPER ARG
PARSE UPPER VALUE
PARSE UPPER VALUE
PARSE UPPER VALUE
/*
* Check option values in the argument.
*/
IF opt_tpgid = '' THEN DO
SAY "Please specify TPG() value in the argument.";
EXIT 8;
END;
IF opt_prefix = '' THEN DO
SAY "Please specify PREFIX() value in the argument.";
EXIT 8;
END;
IF DATATYPE(opt_interval) /= 'NUM' THEN
opt_interval = 600;
/*
* Load TPG configuration file and set information to REXX variables.
*/
CALL KTLOAD "STEM(DEMO_STEM.) MSG(DEMO_MSG.)",
" PREFIX("opt_prefix") TPG("opt_tpgid")";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTLOAD" RESULT;
EXIT 8;
END;
/*
* Display header information.
*/
SAY 'Tiering Policy Group Name : '||DEMO_STEM.TPG.ID;
SAY 'Monitor Interval Time(sec): '||opt_interval;
SAY '';
SAY 'Volume I/O statistics';
/*
* Get I/O statistics each interval time,
* and display I/O statistics values of all volumes in the TPG.
*/
getmsgrc = 0;
EndTime=TIME();
DO WHILE getmsgrc=0;
/*
* Get tiering policy setting values of volume in the TPG and
* tier status of volumes and pools in the TPG to REXX variables.
*/
CALL KTQSTATS "STEM(DEMO_STEM.) MSG(DEMO_MSG.)";
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-27
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTQSTATS" RESULT;
EXIT 8;
END;
IF DEMO_STEM.TPG.VOL.IO.Interval > 0 THEN DO;
StartTime = EndTime;
EndTime
= TIME();
SAY ' -------------------------------------------------------';
SAY ' 'StartTime' - 'EndTime;
SAY ' -------------------------------------------------------';
SAY ' Devn,Volser,STORGRP ,SN
,CU,CCA'||,
',Tier1 IOPS,Tier2 IOPS,Tier3 IOPS';
DO i=1 to
val_SN
val_CU
val_CCA
sym_SN
sym_CU
sym_CCA
DEMO_STEM.TPG.VOL.0;
= DEMO_STEM.TPG.VOL.i.SerialNum;
= DEMO_STEM.TPG.VOL.i.CUNum;
= DEMO_STEM.TPG.VOL.i.CCA;
= 'SN' ||val_SN;
= 'CU' ||val_CU;
= 'CCA'||val_CCA;
val_Devn
= DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Devn;
val_Volser = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Volser;
val_STORGRP = DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.STORGRP;
/*
* If KTQSTATS is not first call,
* IO.diff has I/O count from last call.
*/
DO j=1 to 3;
val_iops.j=0;
END;
DO j=1 to DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Tier.0;
val_iops.j=DEMO_STEM.LOCAL.sym_SN.sym_CU.sym_CCA.Tier.j.IO.diff,
/DEMO_STEM.TPG.VOL.IO.Interval;
IF TRUNC(val_iops.j) /= val_iops.j THEN DO;
IF val_iops.j < 100 THEN
val_iops.j = TRUNC(val_iops.j,3);
ELSE
val_iops.j = TRUNC(val_iops.j,0);
END;
END;
/*
* Display this volume's I/O statistics.
*/
SAY ' 'RIGHT(val_Devn,4)','LEFT(val_Volser,6)||,
','LEFT(val_STORGRP,8)','val_SN','val_CU||,
', 'val_CCA||','RIGHT(val_iops.1,10)||,
','RIGHT(val_iops.2,10)','RIGHT(val_iops.3,10);
END;
END;
/*
* Wait for interval.
*/
ADDRESS TSO "KTSLEEP SEC("opt_interval")";
END;
SAY "#-- END KTDEMO14."; /* The sample script completed. */
EXIT 0;
/*
* printErrorMessage: This procedure prints all of the error messages
C-28
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
*
in the Message structure when a CLI command failed.
*/
printErrorMessage: procedure expose DEMO_MSG.
ARG cli_name cli_result;
SAY "Command name=" || cli_name || ",result=" || cli_result;
IF DATATYPE(DEMO_MSG.0) = 'NUM' THEN
DO x = 1 to DEMO_MSG.0;
SAY "Severity = " || DEMO_MSG.x.Severity;
SAY "Text
= " || DEMO_MSG.x.Text;
SAY "Value
= " || DEMO_MSG.x.Value;
END;
RETURN
0;
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
C-29
C-30
Sample scripts
Hitachi Tiered Storage Manager for Mainframe User Guide
D
Upgrading Tiered Storage Manager for
Mainframe
This appendix describes how to upgrade Tiered Storage Manager for
Mainframe.
Workflow for upgrading Tiered Storage Manager for Mainframe
Preparation for upgrading Tiered Storage Manager for Mainframe
Upgrading Tiered Storage Manager for Mainframe
D-1
Related topics
D-2
Deleting the user SVC from the IEASVCxx parmlib member on page
D-4
Procedure
1.
The values set for the environment variables and system symbolic names
listed in the following table are displayed.
Description
YKLCNSE
&YKLCNSE
YKLCNS2
&YKLCNS2
LOGPUT
&YKLOGPT
SYSLOG
&YKSYSLG
Related topics
Creating a backup
Back up the following files:
D-3
Tip: When you back up and rename files, make sure that you change only
the prefix of the file names. Because a file name contains information such as
tiering policy group IDs, changing a file name might cause file consistencies
to be lost, preventing Tiered Storage Manager for Mainframe from operating.
Related topics
Procedure
1.
2.
If this version is older than the prerequisite user SVC version of Tiered
Storage Manager for Mainframe after upgrading, execute the KTALCSVC
command as shown below.
START KTALCSVC,PARM='DELETE'
Caution: A user SVC is shared by Tiered Storage Manager for Mainframe and
Business Continuity Manager. Therefore, in a system where Business
Continuity Manager is installed, make sure that Business Continuity Manager
is not running before deleting the user SVC.
Related topics
Prerequisite user SVC versions for Tiered Storage Manager for Mainframe
on page 2-36
D-4
by using the IEASVCxx parmlib member, delete the user SVC from the
IEASVCxx parmlib member.
Procedure
1.
2.
If this version is older than the prerequisite user SVC version of Tiered
Storage Manager for Mainframe after upgrading, disable (comment out)
the SYMDEF statement that contains the &YKSVCNO system symbolic name
in the IEASYMxx parmlib member, as shown below:
/* SYMDEF(&YKSVCNO='SVC-number') */
3.
Disable (comment out) the SVCPARM statement that specifies the JYUASVC
module of the IEASVCxx parmlib member, as shown below:
/* SVCPARM SVC-number,REPLACE,TYPE(3),EPNAME(JYUASVC),APF(NO),NPRMPT(NO),AR(NO) */
To apply the deletion of the user SVC, perform re-IPL by specifying the CLPA
parameter. Perform re-IPL at the end of the preparation for upgrading.
Caution: A user SVC is shared by Tiered Storage Manager for Mainframe and
Business Continuity Manager. Therefore, in a system where Business
Continuity Manager is installed, make sure that Business Continuity Manager
is not running before deleting the user SVC.
Related topics
Prerequisite user SVC versions for Tiered Storage Manager for Mainframe
on page 2-36
Procedure
1.
2.
D-5
3.
If the load library for LINKLIB has been statically linked by adding it to
the PROGxx parmlib member, delete the load library from the member.
If the load library for LINKLIB has been dynamically linked to LNKLST
by using the SETPROG LNKLST command, use the SETPROG LNKLST
command to remove the linkage.
If the user SVC has been registered by using the IEASVCxx parmlib
member, remove the linkage of the HDSYLPAT load library for LPALIB.
(This step is unnecessary if the user SVC was registered by using the
YKALCSVC command.)
If the load library for LPALIB has been statically linked by defining it in
the LPALSTxx parmlib member, delete the definition.
If the load library for LPALIB has been dynamically linked to LPALST
by using the SETPROG LPA command, use the SETPROG LPA command
to remove the linkage.
To apply the removal of static linkages, you must perform re-IPL specifying
the CLPA parameter. Perform re-IPL at the end of the preparation for
upgrading.
You do not need to register a user SVC if the currently enabled user SVC
version satisfies the conditions for the user SVC that are prerequisites for
Tiered Storage Manager for Mainframe.
If the license of the version before migration can be used and there are
no licenses to be added, you do not need to register a license for Tiered
Storage Manager for Mainframe.
Note:
If sample JCL HDSKT2DF, which defines the distribution library and target
library, terminated abnormally during installation using SMP/E and
GIM35601E ** DATASET SUBENTRY WAS NOT ADDED BECAUSE IT ALREADY
EXISTS. was output, change the ADD command in HDSKT2DF to the REP
command, and then execute HDSKT2DF again.
Related topics
D-6
E
Modifying the sample JCL
This appendix provides examples of how to modify the sample JCL.
Values used in the sample JCL modification examples
ALLOUPLD (creating datasets used for transfers)
RECVUPLD (TSO/E RECEIVE processing)
HDSKTSIN (performing installation without using SMP/E)
SMPALLOC (allocating SMP/E datasets)
HDSKT1AL (allocating the distribution library and target library)
HDSKT2DF (defining the distribution library and target library)
HDSKT3RC (SMP/E RECEIVE processing)
HDSKT4AP (creating target libraries)
HDSKT5AC (creating distribution libraries)
E-1
Volume allocated
to the dataset
TSO/E user ID
TSOW00
TSO/E user ID
TSOW00
SMP/E dataset
HTC1.KT.
SMP001
Target library
HTC1.KT.
KTT000
Distribution library
HTC1.KT.
KTD000
Global zone
HTC1.KT.
SMP001
(SMPTLIB)
In the sample JCL, the nnn part of CHKTnnn and the nnnnnn part of Vnnnnnn
vary depending on the version.
E-2
E-3
//
//
//F7
//
//
//
//
//F8
//
//
//
//
//F9
//
//
//
//
DD
DD
DD
DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=3120),
DISP=(,CATLG,DELETE)
DSN=&PFX..&VRM..F7.XMIT,
UNIT=SYSDA,VOL=SER=&VSN,
SPACE=(TRK,(45)),
DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=3120),
DISP=(,CATLG,DELETE)
DSN=&PFX..&VRM..F8.XMIT,
UNIT=SYSDA,VOL=SER=&VSN,
SPACE=(TRK,(45)),
DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=3120),
DISP=(,CATLG,DELETE)
DSN=&PFX..&VRM..F9.XMIT,
UNIT=SYSDA,VOL=SER=&VSN,
SPACE=(TRK,(45)),
DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=3120),
DISP=(,CATLG,DELETE)
E-4
//*
SMPPTFIN DD statement on the receive step. SMP/E will
//*
locate the other files via the catalog.
//*
//*
//* Remove all HTSM for MF files.
//*
//CLEAN
EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN
DD *
DELETE HITACHI.CHKTnnn.SMPMCS
-----(4)
DELETE HITACHI.CHKTnnn.F1
-----(5)
DELETE HITACHI.CHKTnnn.F2
-----(6)
DELETE HITACHI.CHKTnnn.F3
-----(7)
DELETE HITACHI.CHKTnnn.F4
-----(8)
DELETE HITACHI.CHKTnnn.F5
-----(9)
DELETE HITACHI.CHKTnnn.F6
-----(10)
DELETE HITACHI.CHKTnnn.F7
-----(11)
DELETE HITACHI.CHKTnnn.F8
-----(12)
DELETE HITACHI.CHKTnnn.F9
-----(13)
SET MAXCC = 0
/*
//*********************************************************************
//* TSO receive to restore portable PDS from BINARY FTP
//*********************************************************************
//S1
EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
RECEIVE INDSN(CHKTnnn.SMPMCS.XMIT)
DSNAME('HITACHI.CHKTnnn.SMPMCS') +
-----(14)
VOLUME(#tso01)
-----(15)
RECEIVE INDSN(CHKTnnn.F1.XMIT)
DSNAME('HITACHI.CHKTnnn.F1') +
-----(16)
VOLUME(#tso01)
-----(17)
RECEIVE INDSN(CHKTnnn.F2.XMIT)
DSNAME('HITACHI.CHKTnnn.F2') +
-----(18)
VOLUME(#tso01)
-----(19)
RECEIVE INDSN(CHKTnnn.F3.XMIT)
DSNAME('HITACHI.CHKTnnn.F3') +
-----(20)
VOLUME(#tso01)
-----(21)
RECEIVE INDSN(CHKTnnn.F4.XMIT)
DSNAME('HITACHI.CHKTnnn.F4') +
-----(22)
VOLUME(#tso01)
-----(23)
RECEIVE INDSN(CHKTnnn.F5.XMIT)
DSNAME('HITACHI.CHKTnnn.F5') +
-----(24)
VOLUME(#tso01)
-----(25)
RECEIVE INDSN(CHKTnnn.F6.XMIT)
DSNAME('HITACHI.CHKTnnn.F6') +
-----(26)
VOLUME(#tso01)
-----(27)
RECEIVE INDSN(CHKTnnn.F7.XMIT)
DSNAME('HITACHI.CHKTnnn.F7') +
-----(28)
VOLUME(#tso01)
-----(29)
RECEIVE INDSN(CHKTnnn.F8.XMIT)
DSNAME('HITACHI.CHKTnnn.F8') +
-----(30)
VOLUME(#tso01)
-----(31)
RECEIVE INDSN(CHKTnnn.F9.XMIT)
DSNAME('HITACHI.CHKTnnn.F9') +
-----(32)
VOLUME(#tso01)
-----(33)
END
/*
E-5
The following numbers correspond to the numbers appearing on the right side
of the sample JCL.
(1) to (3)
Modify the JOB statement in accordance with the installation
environment.
(4)
Change the prefix for the input dataset name from HITACHI to the TSO/E
user ID.
(5)
Change the prefix for the target library name from HITACHI to HTC1.KT.
(6)
Change the volume allocated to the target library from #KT001 to KTT000.
//HDSKTSIN JOB (ACCT#),'SAMPLE COPY',
-----(1)
//
REGION=0M,CLASS=A,
-----(2)
//
MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID
-----(3)
//*********************************************************************
//*
//* All Rights Reserved. Copyright (C) 2013, 2014, Hitachi, Ltd.
//*
//*********************************************************************
//*
//* JCL template for simplified installation of HTSM for MF.
//*
//* This sample shows an installation method that copies
//* distribution data sets directly to the target libraries,
//* without using SMP/E.
//*
//* Instructions:
//* 1) Modify the JOB statement to match your environment.
//* 2) Modify the following values to match your environment:
//*
//*
Value
Description
//*
----------------------------------------//
SET IPFX=HITACHI
Prefix of distribution data sets
-----(4)
//
SET IVRM=CHKTnnn
Version of distribution data sets
//
SET TPFX=HITACHI
Prefix of target libraries
-----(5)
//
SET TVRM=Vnnnnnn
Version of target libraries
//
SET TVSN=#KT001
VOLSER of target libraries
-----(6)
//*
//* 3) Submit the JCL.
//*
//*********************************************************************
//COPY
EXEC PGM=IEBCOPY
//SYSPRINT DD SYSOUT=*
//* Input data sets
//INF1
DD DSN=&IPFX..&IVRM..F1,DISP=SHR
SAMPLIB data set
//INF2
DD DSN=&IPFX..&IVRM..F2,DISP=SHR
LINKLIB data set
//INF3
DD DSN=&IPFX..&IVRM..F3,DISP=SHR
LPALIB data set
//INF4
DD DSN=&IPFX..&IVRM..F4,DISP=SHR
PROCLIB data set
//INF5
DD DSN=&IPFX..&IVRM..F5,DISP=SHR
EXEC(F) data set
//INF6
DD DSN=&IPFX..&IVRM..F6,DISP=SHR
EXEC(V) data set
//INF7
DD DSN=&IPFX..&IVRM..F7,DISP=SHR
PANEL
data set
//INF8
DD DSN=&IPFX..&IVRM..F8,DISP=SHR
MESSAGE data set
//INF9
DD DSN=&IPFX..&IVRM..F9,DISP=SHR
TABLE
data set
//* Output libraries
//OUTF1
DD DSN=&TPFX..&TVRM..HDSKSAMT,
//
UNIT=3390,VOL=SER=&TVSN,
//
DISP=(NEW,CATLG,DELETE),
SAMPLIB
//
SPACE=(TRK,(15,1,5)),DCB=*.INF1
Target library
E-6
//OUTF2
DD DSN=&TPFX..&TVRM..HDSKLNKT,
//
UNIT=3390,VOL=SER=&TVSN,
//
DISP=(NEW,CATLG,DELETE),
//
SPACE=(TRK,(75,1,20)),DCB=*.INF2
//OUTF3
DD DSN=&TPFX..&TVRM..HDSKLPAT,
//
UNIT=3390,VOL=SER=&TVSN,
//
DISP=(NEW,CATLG,DELETE),
//
SPACE=(TRK,(1,1,1)),DCB=*.INF3
//OUTF4
DD DSN=&TPFX..&TVRM..HDSKPRCT,
//
UNIT=3390,VOL=SER=&TVSN,
//
DISP=(NEW,CATLG,DELETE),
//
SPACE=(TRK,(5,1,10)),DCB=*.INF4
//OUTF5
DD DSN=&TPFX..&TVRM..HDSKEXET,
//
UNIT=3390,VOL=SER=&TVSN,
//
DISP=(NEW,CATLG,DELETE),
//
SPACE=(TRK,(45,1,10)),DCB=*.INF5
//OUTF6
DD DSN=&TPFX..&TVRM..HDSKEXVT,
//
UNIT=3390,VOL=SER=&TVSN,
//
DISP=(NEW,CATLG,DELETE),
//
SPACE=(TRK,(45,1,10)),DCB=*.INF6
//OUTF7
DD DSN=&TPFX..&TVRM..HDSKPNLT,
//
UNIT=3390,VOL=SER=&TVSN,
//
DISP=(NEW,CATLG,DELETE),
//
SPACE=(TRK,(60,1,200)),DCB=*.INF7
//OUTF8
DD DSN=&TPFX..&TVRM..HDSKMSGT,
//
UNIT=3390,VOL=SER=&TVSN,
//
DISP=(NEW,CATLG,DELETE),
//
SPACE=(TRK,(5,1,5)),DCB=*.INF8
//OUTF9
DD DSN=&TPFX..&TVRM..HDSKTABT,
//
UNIT=3390,VOL=SER=&TVSN,
//
DISP=(NEW,CATLG,DELETE),
//
SPACE=(TRK,(5,1,5)),DCB=*.INF9
//SYSIN
DD *
COPY
OUTDD=OUTF1,INDD=INF1
COPYMOD OUTDD=OUTF2,INDD=INF2
COPYMOD OUTDD=OUTF3,INDD=INF3
COPY
OUTDD=OUTF4,INDD=INF4
COPY
OUTDD=OUTF5,INDD=INF5
COPY
OUTDD=OUTF6,INDD=INF6
COPY
OUTDD=OUTF7,INDD=INF7
COPY
OUTDD=OUTF8,INDD=INF8
COPY
OUTDD=OUTF9,INDD=INF9
/*
LINKLIB
Target library
LPALIB
Target library
PROCLIB
Target library
EXECLIB(F)
Target library
EXECLIB(V)
Target library
PANEL
Target library
MESSAGE
Target library
TABLE
Target library
E-7
E-8
E-9
E-10
//
SPACE=(TRK,(5,1,5)),
//
DCB=(BLKSIZE=6160,LRECL=80,RECFM=FB)
//HDSKTABT DD DSN=&PFX..&VRM..HDSKTABT,
TABLE LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&TVSN,
//
SPACE=(TRK,(5,1,5)),
//
DCB=(BLKSIZE=6160,LRECL=80,RECFM=FB)
//* Allocate distribution libraries
//HDSKSAMD DD DSN=&PFX..&VRM..HDSKSAMD,
SAMPLES LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&DVSN,
//
SPACE=(TRK,(15,1,5)),
//
DCB=(BLKSIZE=6160,LRECL=80,RECFM=FB)
//HDSKLNKD DD DSN=&PFX..&VRM..HDSKLNKD,
LOAD LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&DVSN,
//
SPACE=(TRK,(75,1,20)),
//
DCB=(BLKSIZE=6144,RECFM=U)
//HDSKLPAD DD DSN=&PFX..&VRM..HDSKLPAD,
LPA LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&DVSN,
//
SPACE=(TRK,(1,1,1)),
//
DCB=(BLKSIZE=6144,RECFM=U)
//HDSKPRCD DD DSN=&PFX..&VRM..HDSKPRCD,
PROC LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&DVSN,
//
SPACE=(TRK,(5,1,10)),
//
DCB=(BLKSIZE=6160,LRECL=80,RECFM=FB)
//HDSKEXED DD DSN=&PFX..&VRM..HDSKEXED,
EXEC(F) LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&DVSN,
//
SPACE=(TRK,(45,1,10)),
//
DCB=(BLKSIZE=6160,LRECL=80,RECFM=FB)
//HDSKEXVD DD DSN=&PFX..&VRM..HDSKEXVD,
EXEC(V) LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&DVSN,
//
SPACE=(TRK,(45,1,10)),
//
DCB=(BLKSIZE=6120,LRECL=255,RECFM=VB)
//HDSKPNLD DD DSN=&PFX..&VRM..HDSKPNLD,
PANEL LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&DVSN,
//
SPACE=(TRK,(60,1,200)),
//
DCB=(BLKSIZE=6160,LRECL=80,RECFM=FB)
//HDSKMSGD DD DSN=&PFX..&VRM..HDSKMSGD,
MESSAGE LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&DVSN,
//
SPACE=(TRK,(5,1,5)),
//
DCB=(BLKSIZE=6160,LRECL=80,RECFM=FB)
//HDSKTABD DD DSN=&PFX..&VRM..HDSKTABD,
TABLE LIBRARY
//
DISP=(NEW,CATLG,DELETE),
//
UNIT=3390,VOL=SER=&DVSN,
//
SPACE=(TRK,(5,1,5)),
//
DCB=(BLKSIZE=6160,LRECL=80,RECFM=FB)
E-11
(1) to (3)
Modify the JOB statement in accordance with the installation
environment.
(4)
Change the prefix for the SMP/E dataset name, target library name, and
distribution library name from HDSKT to HTC1.KT.
(5) to (10)
Change the prefix for the SMP/E dataset name from HDSKT to HTC1.KT.
(11)
Change the volume allocated to SMPTLIB from #smp01 to SMP001.
(12) to (29)
Change the prefix for the target library name from HDSKT to HTC1.KT.
(30) to (38)
Change the prefix of the distribution library name from HDSKT to HTC1.KT.
//HDSKT2DF JOB (ACCT#),'DO THE DDDEFS',
-----(1)
//
REGION=0M,CLASS=A,
-----(2)
//
MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID
-----(3)
//*********************************************************************
//*
//* All Rights Reserved. Copyright (C) 2013, 2014, Hitachi, Ltd.
//*
//*********************************************************************
//*
//* This JCL executes SMP/E DDDEF for the distribution libraries and
//* the target libraries.
//*
//* Instructions:
//* 1) Modify the JOB statement to match your environment.
//* 2) Modify the following values to match your environment:
//*
//*
Value
Description
//*
--------------------------------------//*
GIMSMP
Installation SMP/E program
//
SET PFX=HDSKT
Prefix of SMP files
-----(4)
//
SET VRM=Vnnnnnn
Second level name (VER REL MOD)
//*
#smp01
DASD volume serial for SMPTLIB
//*
//* 3) Submit the JCL to begin execution of SMP/E DDDEF.
//*
//*********************************************************************
//S1
EXEC PGM=GIMSMP
//SMPCSI
DD DISP=SHR,DSN=&PFX..SMPCSI.CSI
//SMPOUT
DD SYSOUT=*
//SMPRPT
DD SYSOUT=*
//SMPLIST DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SMPWRK1 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//SMPWRK2 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//SMPWRK3 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
E-12
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//SMPWRK4 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//SMPWRK6 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
//
DCB=(RECFM=FB,BLKSIZE=3120)
//SYSUT1
DD UNIT=SYSDA,SPACE=(3120,(0380,0760))
//SYSUT2
DD UNIT=SYSDA,SPACE=(3120,(0380,0760))
//SYSUT3
DD UNIT=SYSDA,SPACE=(3120,(0380,0760))
//SYSUT4
DD UNIT=SYSDA,SPACE=(3120,(0038,0100)),
//
DCB=(LRECL=80,BLKSIZE=3120,RECFM=FB)
//* The following data sets would likely be specified in a
//* cataloged procedure customized for a particular customer.
//SMPPTS
DD DISP=SHR,DSN=&PFX..SMPPTS
//SMPLOG
DD DISP=MOD,DSN=&PFX..SMPLOG
//SMPLOGA DD DISP=MOD,DSN=&PFX..SMPLOGA
//SMPCSI
DD DISP=SHR,DSN=&PFX..SMPCSI.CSI
//GLOBAL
DD DISP=SHR,DSN=&PFX..SMPCSI.CSI
//TGT1
DD DISP=SHR,DSN=&PFX..SMPCSI.CSI
//DLIB1
DD DISP=SHR,DSN=&PFX..SMPCSI.CSI
//* SMP/E control record input
//SMPCNTL DD *
SET
BDY(GLOBAL).
UCLIN.
ADD
GLOBALZONE ZONEINDEX(
(DLIB1,HDSKT.SMPCSI.CSI,DLIB),
(TGT1,HDSKT.SMPCSI.CSI,TARGET))
SREL(Z038).
ADD
DDDEF(SMPPTS)
DA(HDSKT.SMPPTS)
OLD.
ADD
DDDEF(SMPLOG)
DA(HDSKT.SMPLOG)
MOD.
ADD
DDDEF(SMPLOGA)
DA(HDSKT.SMPLOGA)
MOD.
ADD
DDDEF(SMPTLIB)
DSPREFIX(HDSKT.TM)
VOLUME(#smp01)
UNIT(3390)
CYL
SPACE(5,5)
DIR(200)
DSNTYPE(PDS).
ADD
DDDEF(HDSKSAMT)
DA(HDSKT.Vnnnnnn.HDSKSAMT)
OLD.
ADD
DDDEF(HDSKLNKT)
DA(HDSKT.Vnnnnnn.HDSKLNKT)
OLD.
ADD
DDDEF(HDSKLPAT)
DA(HDSKT.Vnnnnnn.HDSKLPAT)
OLD.
ADD
DDDEF(HDSKPRCT)
DA(HDSKT.Vnnnnnn.HDSKPRCT)
OLD.
ADD
DDDEF(HDSKEXET)
DA(HDSKT.Vnnnnnn.HDSKEXET)
OLD.
ADD
DDDEF(HDSKEXVT)
DA(HDSKT.Vnnnnnn.HDSKEXVT)
OLD.
ADD
DDDEF(HDSKPNLT)
DA(HDSKT.Vnnnnnn.HDSKPNLT)
OLD.
ADD
DDDEF(HDSHDSKMSGT)
DA(HDSKT.Vnnnnnn.HDSKMSGT)
-----(5)
-----(6)
-----(7)
-----(8)
-----(9)
-----(10)
-----(11)
-----(12)
-----(13)
-----(14)
-----(15)
-----(16)
-----(17)
-----(18)
-----(19)
E-13
ADD
ENDUCL.
SET
UCLIN.
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ENDUCL.
SET
UCLIN.
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
ADD
E-14
OLD.
DDDEF(HDSKTABT)
DA(HDSKT.Vnnnnnn.HDSKTABT)
OLD.
-----(20)
BDY(TGT1).
TARGETZONE(TGT1)
RELATED(DLIB1)
SREL(Z038).
DDDEF(HDSKSAMT)
DA(HDSKT.Vnnnnnn.HDSKSAMT)
OLD.
DDDEF(HDSKLNKT)
DA(HDSKT.Vnnnnnn.HDSKLNKT)
OLD.
DDDEF(HDSKLPAT)
DA(HDSKT.Vnnnnnn.HDSKLPAT)
OLD.
DDDEF(HDSKPRCT)
DA(HDSKT.Vnnnnnn.HDSKPRCT)
OLD.
DDDEF(HDSKEXET)
DA(HDSKT.Vnnnnnn.HDSKEXET)
OLD.
DDDEF(HDSKEXVT)
DA(HDSKT.Vnnnnnn.HDSKEXVT)
OLD.
DDDEF(HDSKPNLT)
DA(HDSKT.Vnnnnnn.HDSKPNLT)
OLD.
DDDEF(HDSKMSGT)
DA(HDSKT.Vnnnnnn.HDSKMSGT)
OLD.
DDDEF(HDSKTABT)
DA(HDSKT.Vnnnnnn.HDSKTABT)
OLD.
-----(21)
-----(22)
-----(23)
-----(24)
-----(25)
-----(26)
-----(27)
-----(28)
-----(29)
BDY(DLIB1).
DLIBZONE(DLIB1)
RELATED(TGT1)
SREL(Z038).
DDDEF(HDSKSAMD)
DA(HDSKT.Vnnnnnn.HDSKSAMD)
OLD.
DDDEF(HDSKLNKD)
DA(HDSKT.Vnnnnnn.HDSKLNKD)
OLD.
DDDEF(HDSKLPAD)
DA(HDSKT.Vnnnnnn.HDSKLPAD)
OLD.
DDDEF(HDSKPRCD)
DA(HDSKT.Vnnnnnn.HDSKPRCD)
OLD.
DDDEF(HDSKEXED)
DA(HDSKT.Vnnnnnn.HDSKEXED)
OLD.
DDDEF(HDSKEXVD)
DA(HDSKT.Vnnnnnn.HDSKEXVD)
OLD.
DDDEF(HDSKPNLD)
DA(HDSKT.Vnnnnnn.HDSKPNLD)
OLD.
DDDEF(HDSKMSGD)
DA(HDSKT.Vnnnnnn.HDSKMSGD)
OLD.
DDDEF(HDSKTABD)
DA(HDSKT.Vnnnnnn.HDSKTABD)
-----(30)
-----(31)
-----(32)
-----(33)
-----(34)
-----(35)
-----(36)
-----(37)
-----(38)
ENDUCL.
SET
LIST
/*
OLD.
BDY(GLOBAL).
ALLZONES
DDDEF.
E-15
E-16
(4)
Change the prefix for the dataset name from HDSKT to HTC1.KT.
(5)
Change the volume allocated to the SMP/E dataset from #smp01 to
SMP001.
(6)
After SMP/E ACCEPT is completed, delete CHECK (or comment it out), and
then perform the job again.
//HDSKT4AP JOB (ACCT#),'APPLY HTSM FOR MF',
-----(1)
//
REGION=0M,CLASS=A,
-----(2)
//
MSGLEVEL=(1,1),MSGCLASS=X,NOTIFY=&SYSUID
-----(3)
//*********************************************************************
//*
//* All Rights Reserved. Copyright (C) 2013, 2014, Hitachi, Ltd.
//*
//*********************************************************************
//*
//* This JCL executes SMP/E APPLY to create the target libraries.
//*
//* Instructions:
//* 1) Modify the JOB statement to match your environment.
//* 2) Modify the following values to match your environment:
//*
//*
Value
Description
//*
--------------------------------------//*
GIMSMP
Installation SMP/E program
//
SET PFX=HDSKT
Prefix of SMP files
-----(4)
//
SET VRM=Vnnnnnn
Second level name (VER REL MOD)
//
SET VSN=#smp01
DASD volume serial for SMPTLIB
-----(5)
//*
//* 3) Submit the JCL and make sure that no error occurs.
//* 4) Remove CHECK operand from APPLY and re-submit the JCL to
//*
complete.
//*
//*********************************************************************
//APPLY
EXEC PGM=GIMSMP
//SMPOUT
DD SYSOUT=*
//SMPRPT
DD SYSOUT=*
//SMPLIST DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SMPWRK1 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//SMPWRK2 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//SMPWRK3 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//SMPWRK4 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
//
DCB=(RECFM=FB,LRECL=80,BLKSIZE=3120)
//SMPWRK6 DD UNIT=SYSDA,
//
SPACE=(3120,(0364,0380,500)),
//
DCB=(RECFM=FB,BLKSIZE=3120)
//SYSUT1
DD UNIT=SYSDA,SPACE=(3120,(0380,0760))
//SYSUT2
DD UNIT=SYSDA,SPACE=(3120,(0380,0760))
//SYSUT3
DD UNIT=SYSDA,SPACE=(3120,(0380,0760))
//SYSUT4
DD UNIT=SYSDA,SPACE=(3120,(0038,0100)),
//
DCB=(LRECL=80,BLKSIZE=3120,RECFM=FB)
//* The following data sets would likely be specified in a
E-17
E-18
E-19
E-20
F
Command syntax descriptions
This chapter describes the command syntax conventions used in this
document.
Command syntax descriptions
F-1
Convention
Vertical bars are delimiters between multiple items and represent the word
"or".
Example:
A|B|C means "A, B, or C".
[]
{}
One item must be selected from among the items enclosed by curly brackets.
Items are delimited by vertical bars (|).
Example:
{A|B|C} means "you must specify A, B, or C".
... or +
Example:
{A|B}* means "do not specify anything" or "specify A or B as many times as
necessary in any order".
_
Indicates that the item is a value assumed by the system if one of the items
enclosed by the selection symbols is omitted.
0
The items that immediately precede this symbol must follow the convention
for < >, << >>, or (( )).
<>
Indicates a syntax element that must be used when specifying the item.
<< >>
(( ))
The following table shows the syntax elements used in this document.
F-2
Valid value
Example
<Numeric
character>
0-9
--
<Alphabetic
character>
A-Z, a-z, at marks (@), hash marks (#), and dollar signs
($)
--
<Uppercase
alphabetic
character>
A-Z, at marks (@), hash marks (#), and dollar signs ($)
--
<Alphanumeric
character>
A123
<Alphanumeric
character
string>
<Alphanumeric character>+
A123
<Alphabetic
character
string>
<Alphabetic character>+
A@C
<Hexadecimal
character>
--
<Hexadecimal
character
string>
<Hexadecimal character>+
--
<REXX symbol
heading
character>
<Alphabetic characters>, exclamation marks (!), question -marks (?), and underscores (_)
<REXX simple
symbol>
<Symbolic
name>
A?.A123.!
12.
A1234567
A12.B34.C
DE
F-3
F-4
A
APF
authorized program facility
ASCII
american standard code for information interchange
B
Business Continuity Manager
Hitachi Business Continuity Manager
C
CCA
command control address
CCW
channel command word
CLI
command line interface
Command Control Interface
Hitachi Command Control Interface
W X
Acronyms-1
Hitachi Tiered Storage Manager for Mainframe User Guide
CSV
comma-separated values
CU
controller unit
D
DASD
direct access storage device
DEVN
device number
DFSMS
Data Facility Storage Management Subsystem
DKC
disk controller
DLIB
distribution library
DSORG
data set organization
Dynamic Provisioning for Mainframe
Hitachi Dynamic Provisioning Software for Mainframe
Dynamic Tiering for Mainframe
Hitachi Dynamic Tiering Software for Mainframe
E
EBCDIC
extended binary coded decimal interchange code
F
FMID
function modification identifier
Acronyms-2
Hitachi Tiered Storage Manager for Mainframe User Guide
W X
FTP
file transfer protocol
G
GTF
generalized trace facility
I
I/O
input/output
ID
Identifier
IPL
initial program load
ISPF
interactive system productivity facility
J
JCL
job control language
L
LDEV
logical device
LRECL
logical record length
O
OPEX
operating expense
W X
Acronyms-3
Hitachi Tiered Storage Manager for Mainframe User Guide
OS
operating system
R
RACF
resource access control facility
RECFM
record format
REXX
restructured extended executor
ROI
return on investment
S
SAF
system authorization facility
SAS
serial attached SCSI
SATA
serial advanced technology attachment
SCSI
small computer system interface
SLA
service level agreement
SMP/E
system modification program extended
SMS
Units of the storage pool managed by the DFSMS
SSD
solid state drive
Acronyms-4
Hitachi Tiered Storage Manager for Mainframe User Guide
W X
SSID
storage system ID
SVC
supervisor call
SVP
service processor
SYSMOD
SYStem MODification
T
Tiered Storage Manager for Mainframe
Hitachi Tiered Storage Manager for Mainframe
TSO/E
Time Sharing Option/Extensions
V
VM
virtual machine
VSP
Hitachi Virtual Storage Platform
X
XML
extensible markup language
W X
Acronyms-5
Hitachi Tiered Storage Manager for Mainframe User Guide
Acronyms-6
Hitachi Tiered Storage Manager for Mainframe User Guide
W X
Glossary
This glossary describes the terms used in this manual.
A
AC field
An entry field used to specify an action in an ISPF panel. The action specified in the AC
field is executed for the corresponding line when Enter is pressed.
B
Business Continuity Manager
A program used for building a highly reliable backup system in which multiple data
centers are linked together. In the event of a disaster, this program enables operations
to continue by using the copy functions of the storage systems, and also enables you to
minimize the restoration time or data loss from a disaster.
C
CLI command
A command that can be used from the command line interface (CLI) of Tiered Storage
Manager for Mainframe.
CLI command-execution log
The log in which log data for executed CLI commands is recorded.
Command Control Interface
A program that allows users to operate a storage system from the command interface.
W X
Glossary-1
Hitachi Tiered Storage Manager for Mainframe User Guide
COMMAND field
An entry field used to specify an action in an ISPF panel. The action specified in the
COMMAND field is executed for the corresponding line when Enter is pressed.
Configuration file
A generic name for the tiering policy group definition file and disk configuration
definition file.
D
device address
A numbering system for devices that a storage system can use to manage volumes. A
device address is represented by a combination of a CU and a CCA.
device information structure
A REXX variable structure in which device information for volumes is stored.
DEVN
A device number used by a mainframe host to manage storage volumes.
disk configuration definition file
A file that defines the storage system's configuration information.
Dynamic Provisioning for Mainframe
Software that allocates a virtual volume to a host so that the required amount of
physical space can be used according to the data write request.
Dynamic Tiering for Mainframe
Software providing functionality that relocates data according to the access frequency,
in addition to the functionality equivalent to Dynamic Provisioning for Mainframe. In
principle, data areas that are accessed frequently are relocated to a higher-speed
hardware tier, and data areas that are accessed not so frequently are relocated to a
lower-speed hardware tier. This functionality can both improve volume performance and
reduce costs.
E
environment setup command
Commands that are used to set up a Tiered Storage Manager for Mainframe operating
environment. These commands are started by using the START OS command. The
following commands are environment setup commands: KTALCSVC, KTSETENV, and
KTDSPENV
Glossary-2
Hitachi Tiered Storage Manager for Mainframe User Guide
W X
environment variables
Variables which are set by using the KTSETENV command to set up the Tiered Storage
Manager for Mainframe operating environment. Environment variables can be used to
specify the prefixes of license information dataset, whether to use the system logger
service, and whether to output the CLI command-execution log data to SYSLOG or the
console.
event log
The log in which operations of Tiered Storage Manager for Mainframe are logged. The
logged data includes messages, information about parameters used when I/O errors
occurred, and command parameter information.
H
host-discovered array index structure
A REXX variable structure storing information that indicates the storage system and
volume configurations.
host-discovered array structure
A REXX variable structure that stores the values set for a storage system or volume.
The data in host-discovered array structures is saved in the disk configuration definition
file.
L
log stream
An aggregate of log data written by the system logger service.
logical DKC
An aggregate of volumes whose CU numbers are from 00 through FE that can be
handled by VSP. Tiered Storage Manager for Mainframe recognizes a logical DKC as a
storage system. A number assigned to each logical DKC (logical DKC serial number) is
called a storage system's serial number.
logical DKC number
A number (0 or 1) assigned to each logical DKC in the storage system.
logical DKC serial number
A number assigned to each logical disk controller (DKC).
W X
Glossary-3
Hitachi Tiered Storage Manager for Mainframe User Guide
M
message structure
A REXX variable structure that stores messages generated by CLI commands that are
executed.
N
new-page assignment tier
The tier to which new pages are assigned when a host writes data to a volume for the
first time.
P
physical DKC serial number
A number assigned to each storage system.
point-and-shoot
The act of positioning the cursor on an item in a panel and pressing Enter to select it. If
an action has been set for the point-and-shoot item, selecting that item triggers the
action to be executed.
R
REXX
One of the structure programming languages developed by IBM. Mainly used on the IBM
mainframe operating system and used as the macro language for calling applications
and operating system functions.
REXX variable structure
A variable whose value is passed when a CLI command is executed.
S
SMP/E
An IBM installer.
SMS storage group
An aggregate of the volumes that constitute the storage pool managed by DFSMS
(storage management environment in IBM MVS).
Glossary-4
Hitachi Tiered Storage Manager for Mainframe User Guide
W X
SN
Storage Navigator
A program product that is connected to a service processor (SVP) to allow users to
operate a storage system remotely.
For details, see the Storage Navigator User Guide.
storage system serial number
A number assigned to each logical disk controller (DKC). This is also called a logical DKC
serial number.
SVP (service processor)
An internal computer in a storage system. Maintenance personnel use it when analyzing
maintenance information or diagnosing devices.
system logger service
MVS series standard functionality for writing, displaying, and deleting log data.
T
tier
Media in a pool grouped by drive type and performance. A maximum of three tiers can
be defined for one pool based on the performance of the media.
tier relocation
A function of Dynamic Tiering for Mainframe. This function automatically allocates data
to appropriate media according to the access frequency, based on the information
collected by performance monitoring. Frequently accessed data is allocated to an upper
tier, which consists of faster media, and infrequently accessed data is allocated to a
lower tier, which consists of lower media.
tiering policy
Information about which tiers data is to be located in, and how data is to be relocated.
tiering policy group
A group of multiple SMS storage groups or volumes. A tiering policy specification or
operation can be performed for each tiering policy group.
tiering policy group definition file
A file that defines tiering policy groups.
tiering policy group structure
A REXX variable structure that stores tiering policy values. Information about the tiering
policy group structure is saved in the tiering policy group definition file.
W X
Glossary-5
Hitachi Tiered Storage Manager for Mainframe User Guide
V
VOLSER
A volume serial number used by a mainframe host to manage storage volumes.
Glossary-6
Hitachi Tiered Storage Manager for Mainframe User Guide
W X
Index
A
AC field Glossary-1
ALLOUPLD (sample JCL) E-2
ARRAYS parameter [KTSCAN command] 6-26
ARRAYS parameter [KTSTORE command] 6-29
attributes of the distribution libraries (DLIB) 2-33
attributes of the target libraries 2-10
B
Business Continuity Manager
Glossary-1
C
calculating required memory 2-32
CLI command 6-1, Glossary-1
CLI command coding format 6-3
CLI command-execution log 9-3, Glossary-1
collecting trace information 9-2
collecting trace information and logs 9-1
Command Control Interface Glossary-1
COMMAND field Glossary-2
command syntax descriptions F-1
commands that can be used in ISPF panels B-1
common items in the panel 5-4
configuration file Glossary-2
configuration file, disk space requirements of 7-3
D
defining log stream 9-6
defining SMS for system logger service
device address Glossary-2
E
Edit Defaults panel 5-13
environment variable 2-18, Glossary-3
ERRCODE B-2
Error Code Help panel 5-14
error-code parameter [KTERCODE command] 6-38
estimating log stream dataset 9-13
estimating OUTLOG 9-13
estimating staging dataset 9-12
event log 9-3, Glossary-3
event log data output tool 9-13
Exception Message List panel 5-15
F
file provided on the installation media 2-7
files used by Tiered Storage Manager for
Mainframe 7-1
files used by Tiered Storage Manager for
Mainframe and their configuration 1-12
9-6
Index-1
Hitachi Tiered Storage Manager for Mainframe User Guide
FMID 2-9
FROM parameter [KTSCAN command] 6-26
FROMVSN parameter [KTSCAN command] 6-26
H
HANDLE parameter [KTCONMSG command] 6-35
HDSKT1AL [sample JCL] E-9
HDSKT2DF [sample JCL] E-11
HDSKT3RC [sample JCL] E-15
HDSKT4AP [sample JCL] E-16
HDSKT5AC [sample JCL] E-18
HDSKTSIN [sample JCL]
E-5
highlighting available point-and-shoot fields 3-35
host-discovered array index structure 8-3,
Glossary-3
host-discovered array structure 8-4, Glossary-3
how to specify filter conditions in ISPF paneIs B-6
how to specify search conditions in ISPF paneIs B-6
I
installation and setup 2-1
overview 2-3
Installation Management area
installation using SMP/E 2-8
ISPF panels 5-1
K
KTACTTPG command 6-5
KTALCSVC command 6-42
KTCONMSG command 6-34
KTDCTDEV command 6-6
KTDCTTPG command 6-8
KTDSPENV command 6-43
KTENV command 6-36
KTERCODE command 6-37
KTGETHDA command 6-9
L
layout of the panel 5-4
library datasets to be registered after the
installation 2-10
license information dataset
creating 2-26
list of CLI commands 6-2
LOCATE B-3
Locate Options panel B-4
log stream Glossary-3
log types 9-3
logical DKC Glossary-3
logical DKC number Glossary-3
logical DKC serial number Glossary-3
M
5-17
parameter
parameter
parameter
parameter
parameter
parameter
parameter
parameter
parameter
parameter
parameter
6-42
Index-2
Hitachi Tiered Storage Manager for Mainframe User Guide
N
New-page assignment description (2-tier
configuration) 7-6
New-page assignment description (3-tier
configuration) 7-6
new-page assignment tier Glossary-4
new-page assignment tier, about 1-9
new-page assignment tier, values 1-10
O
OP parameter [KTCONMSG command] 6-34
OS console command 6-42
OS console command coding format 6-5
coding format 6-5
Overview of assigning new pages to tiers 1-9
overview of Hitachi Tiered Storage Manager for
Mainframe 1-1
P
parameters specified when log stream is defined
9-8
physical DKC serial number Glossary-4
point-and-shoot Glossary-4
Policy ID Entry panel 5-22
Policy CSV List area 5-20
POLICY parameter [KTIMPORT command] 6-13
Pool Selection List panel 5-23
Pool Status Detail panel 5-24
positioning cursor at specific line in sorted field
3-33
PREFIX parameter [KTGETHDA command] 6-10
PREFIX parameter [KTIMPORT command] 6-12
PREFIX parameter [KTLOAD command] 6-15
PREFIX parameter [KTSTORE command] 6-29
Preparing to use Tiered Storage Manager for
Mainframe 2-32
prerequisites for Tiered Storage Manager for
Mainframe 1-10
progress of tier relocation
checking (CLI commands) 4-12
R
RECVUPLD (sample JCL) E-4
registering a license by entering a license key 2-29
registering a license by using a license key file 2-27
registering a user SVC 2-15
registering licenses 2-25
RESET parameter (FILTER command) B-2
RESET parameter (SELECT command) B-5
REXX Glossary-4
REXX external routine 6-5
REXX external routine coding format 6-4
REXX script coding format (REXX external routine)
6-4
REXX script coding format (TSO/E command) 6-4
REXX variable structure 8-1, Glossary-4
RFIND B-4
S
sample JCL E-1
SCAN parameter [KTIMPORT command] 6-13
script coding method 6-4
searching character strings 3-33
SEC parameter [KTSLEEP command] 6-42
SELECT B-4
Select Options panel B-5
Set Defaults area 5-18
setting access privileges for system logger
resources 9-7
setting actions in multiple AC fields 3-34
setting command line location 3-35
Setting Information panel 5-25
setting LOGR couple data sets 9-6
setting number of displayed function keys 3-35
setting operating environment by using
environment variables 2-19
settings required to use Tiered Storage Manager
for Mainframe on the ISPF panel 2-22
SMP/E Glossary-4
SMPALLOC [sample JCL] E-7
SMS storage group Glossary-4
SN Glossary-5
SN parameter [KTGETHDA command] 6-10
SORT B-5
Sort Options panel B-6
sorting items 3-32
SPACE parameter [KTSTORE command] 6-30
specific volume
Index-3
Hitachi Tiered Storage Manager for Mainframe User Guide
T
terms used in Tiered Storage Manager for
Mainframe 1-5
text parameter [KTWTOMSG command] 6-33
text-1 parameter [KTWTOMSG command] 6-33
text-2 parameter [KTWTOMSG command] 6-33
tier Glossary-5
tier relocation Glossary-5
Tiered Storage Manager for Mainframe
functionality
overview 1-4
Tiered Storage Manager for Mainframe operations
ISPF panels 3-1
Tiered Storage Manager for Mainframe operations
when using the CLI
CLI commands 4-1
Index-4
Hitachi Tiered Storage Manager for Mainframe User Guide
U
Upgrading Tiered Storage Manager for Mainframe
D-1
upgrading, preparation for D-3
V
verification after defining tiering policy group 3-13
verification after scanning storage systems (ISPF
panels) 3-9
Verifying the setup information 2-31
VOLSER Glossary-6
volume I/O performance, checking 4-14
volume information
checking (CLI commands) 4-3
VOLUME parameter [KTSTORE command] 6-30
Volume Selection List panel 5-36
Volume Status Detail panel 5-37
W
Workflow for upgrading Tiered Storage Manager
for Mainframe D-2
workflow for using Tiered Storage Manager for
Mainframe 1-14
writing to log dataset (without using system logger
service) 9-17
Index-5
Hitachi Tiered Storage Manager for Mainframe User Guide
Index-6
Hitachi Tiered Storage Manager for Mainframe User Guide
MK-92HC207-01