Details about sample scripts – HP XP Command View Advanced Edition Software User Manual
Page 244
Relevant REXX variable
structure
DD name specification or parameter
Command to be
executed
Purpose
Sample script
name
Host-discovered array structure
Tiering policy group structure
PREFIX(prefix)
TPG(tiering-policy-group-ID)
KTLOAD
KTQRYTPG
Check the page
relocation status
of volumes.
KTDEMO12
Host-discovered array index
structure
Host-discovered array structure
Tiering policy group structure
PREFIX(prefix)
TPG(tiering-policy-group-ID)
KTLOAD
KTQRYTPG
KTQRYRLC
Check the reloca-
tion progress.
KTDEMO13
Host-discovered array structure
Tiering policy group structure
PREFIX(prefix)
TPG(tiering-policy-group-ID)
INTERVAL(display-interval)
#2
KTLOAD
KTQSTATS
Check I/O per-
formance informa-
tion.
KTDEMO14
#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.
Details about sample scripts
Details about the sample scripts are provided below.
KTDEMO00 (Create a disk configuration definition file)
/* REXX */
/**********************************************************************/
/* */
/* All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd. */
/* */
/**********************************************************************/
/* */
/* KTDEMO00 - A sample demonstration script that */
/* generates DSK configuration dataset. */
/* */
/* This sample script uses the following CLI commands. */
/* - KTSCAN */
/* - KTSTORE */
/* */
/* This sample script assumes the following settings. */
/* 1) Dataset which is allocated by ddname KTINDD has records */
/* of scan range list of volume or sms storage group. */
/* Record examples are: */
Sample scripts
244