C sample scripts, List of sample scripts, Overview of sample scripts – HP XP Command View Advanced Edition Software User Manual
Page 243
C Sample scripts
This appendix provides sample scripts for Smart Manager for Mainframe.
List of sample scripts
Sample scripts for each CLI command are stored in the sample library. The following table provides
an overview of each sample script.
Table 57 Overview of sample scripts
Relevant REXX variable
structure
DD name specification or parameter
Command to be
executed
Purpose
Sample script
name
--
DD name:
KTINDD scan range
list
#1
PREFIX(prefix)
KTSCAN
KTSTORE
Create a disk
configuration
definition file.
KTDEMO00
Host-discovered array index
structure
Host-discovered array structure
DD name:
KTDSKDDdisk-configura-
tion-definition-file
KTGETHDA
Display the con-
tents of the disk
configuration
definition file.
KTDEMO01
--
PREFIX(prefix)
POLICY(policy-ID)
KTIMPORT
Create a tiering
policy group
definition file.
KTDEMO02
Host-discovered array structure
Tiering policy group structure
DD name:
KTTPGDDtiering-policy-
group-definition-file
KTLOAD
Display the con-
tents of the tiering
policy group
definition file.
KTDEMO03
Host-discovered array structure
Device information structure
DEVN(device-number)
KTQRYDEV
Display the
volume informa-
tion.
KTDEMO04
--
DEVN(device-number)
KTDCTDEV
Change the tier-
ing policy of a
volume back to
the default.
KTDEMO05
--
PREFIX(prefix)
TPG(tiering-policy-group-ID)
KTLOAD
KTACTTPG
Apply the tiering
policy.
KTDEMO10
Host-discovered array structure
Tiering policy group structure
PREFIX(prefix)
TPG(tiering-policy-group-ID)
KTLOAD
KTQRYTPG
Check the tiering
policy.
KTDEMO11
User Guide
243