Skip to content

Commit eadf89d

Browse files
author
Eduardo Rocha
committed
Fix for Issue #28 , removed keywords from prompt
Signed-off-by: Eduardo Rocha <[email protected]>
1 parent 1df1f08 commit eadf89d

File tree

1 file changed

+23
-24
lines changed

1 file changed

+23
-24
lines changed

IBM-GTS-Workflows/PA-zOSMF-Workflows-ZFS/IBM-MF-AUTO-ZFS-DEFINE.xml

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,32 @@
2323
</variable>
2424
<variable name="zfs-sms-dc" scope="instance" visibility="public">
2525
<label>Data Class</label>
26-
<abstract>If coded, the syntax for this parameter is DATACLAS(DC_NAME)</abstract>
27-
<description>If coded, the syntax for this parameter is DATACLAS(DC_NAME)</description>
26+
<abstract>The target SMS Dataclass</abstract>
27+
<description>A data class is a collection of allocation and space attributes that the system uses when creating a data set. If SMS is active, a data class can be assigned to any data set. For non-SMS-managed DASD data sets, the system uses the allocation attribute values of the data class, but it does not save the data class name. If you alter a data class definition, SMS applies the changes to all new data sets and certain existing data sets that use the data class.</description>
2828
<category>SMS</category>
2929
<string valueMustBeChoice="false" multiLine="false">
30-
<regularExpression>^DATACLAS\(\w*?\)</regularExpression>
30+
<minLength>1</minLength>
31+
<maxLength>8</maxLength>
3132
</string>
3233
</variable>
3334
<variable name="zfs-sms-mc" scope="instance" visibility="public">
3435
<label>Management Class</label>
35-
<abstract>If coded, the syntax for this parameter is MGMTCLAS(MC_NAME)</abstract>
36-
<description>If coded, the syntax for this parameter is MGMTCLAS(MC_NAME)</description>
36+
<abstract>Target SMS Management class</abstract>
37+
<description>A management class is a collection of management attributes that the storage administrator defines. For data sets, these attributes control retention, migration, backup, and release of allocated but unused space. For OAM objects, the attributes control retention, backup, and class transition. You can also use management classes to define how your aggregate groups should be managed. DFSMShsm acts on many management class attributes.</description>
3738
<category>SMS</category>
3839
<string valueMustBeChoice="false" multiLine="false">
39-
<regularExpression>^MGMTCLAS\(\w*?\)</regularExpression>
40+
<minLength>1</minLength>
41+
<maxLength>8</maxLength>
4042
</string>
4143
</variable>
4244
<variable name="zfs-sms-sc" scope="instance" visibility="public">
4345
<label>Storage Class</label>
44-
<abstract>If coded, the syntax for this parameter is STORCLAS(SC_NAME)</abstract>
45-
<description>If coded, the syntax for this parameter is STORCLAS(SC_NAME)</description>
46+
<abstract>Target SMS Storage Class</abstract>
47+
<description>A storage class is a collection of performance goals and device availability requirements that the storage administrator defines. Storage class is a required part of an SMS-managed environment. A storage class provides the criteria that SMS uses in determining an appropriate location to place a data set or object. SMS uses the storage class to select a device according to the following criteria: device performance, the amount of space available on the volume, and how available a data set or object can be on that device.</description>
4648
<category>SMS</category>
4749
<string valueMustBeChoice="false" multiLine="false">
48-
<regularExpression>^STORCLAS\(\w*?\)</regularExpression>
50+
<minLength>1</minLength>
51+
<maxLength>8</maxLength>
4952
</string>
5053
</variable>
5154
<variable name="zfs-pri" scope="instance" visibility="private">
@@ -80,21 +83,21 @@
8083
</variable>
8184
<variable name="zfs-vol" scope="instance" visibility="private">
8285
<label>Volume</label>
83-
<abstract>If coded, the syntax for this parameter is VOLUMES(VOLSER)</abstract>
84-
<description>If coded, the syntax for this parameter is VOLUMES(VOLSER)</description>
86+
<abstract>The volser for the disk</abstract>
87+
<description>The volume serial for the target disk</description>
8588
<category>General</category>
8689
<string valueMustBeChoice="false" multiLine="false">
87-
<regularExpression>^VOLUMES\(\w*?\)</regularExpression>
90+
<validationType>VOLSER</validationType>
8891
</string>
8992
</variable>
9093
<atCreate name="zfs-sec" scope="instance" required="true" prompt="true"/>
9194
<atCreate name="zfs-alc-unit" scope="instance" required="true" prompt="true"/>
9295
<atCreate name="zfs-pri" scope="instance" required="true" prompt="true"/>
9396
<atCreate name="zfs-dsn" scope="instance" required="true" prompt="true"/>
94-
<atCreate name="zfs-sms-dc" scope="instance" required="false" prompt="true"/>
95-
<atCreate name="zfs-sms-mc" scope="instance" required="false" prompt="true"/>
96-
<atCreate name="zfs-sms-sc" scope="instance" required="false" prompt="true"/>
9797
<atCreate name="zfs-vol" scope="instance" required="false" prompt="true"/>
98+
<atCreate name="zfs-sms-sc" scope="instance" required="false" prompt="true"/>
99+
<atCreate name="zfs-sms-mc" scope="instance" required="false" prompt="true"/>
100+
<atCreate name="zfs-sms-dc" scope="instance" required="false" prompt="true"/>
98101
<step name="Define-ZFS" optional="false">
99102
<title>Define New ZFS</title>
100103
<description>&lt;h3&gt;Define a new ZFS Filesystem&lt;/h3&gt;
@@ -126,19 +129,15 @@ If you have any questions please reach out to Eduardo Rocha:&lt;br&gt;
126129
//SYSIN DD *
127130
DEFINE CLUSTER (NAME($zfs-dsn) -
128131
LINEAR $zfs-alc-unit($zfs-pri $zfs-sec) -
129-
#if($zfs-sms-dc != "")
130-
$zfs-sms-dc -
132+
#if($zfs-sms-dc != "") DATACLAS($zfs-sms-dc) -
131133
#end
132-
#if($zfs-sms-sc != "")
133-
$zfs-sms-sc -
134+
#if($zfs-sms-sc != "") STORCLAS($zfs-sms-sc) -
134135
#end
135-
#if($zfs-sms-mc != "")
136-
$zfs-sms-mc -
136+
#if($zfs-sms-mc != "") MGMTCLAS($zfs-sms-mc) -
137137
#end
138-
#if($zfs-vol != "")
139-
$zfs-vol -
138+
#if($zfs-vol != "") VOLUMES($zfs-vol) -
140139
#end
141-
SHAREOPTIONS(2))
140+
SHAREOPTIONS(2))
142141
/*
143142
//FORMAT EXEC PGM=IOEAGFMT,
144143
// PARM=('-aggregate $zfs-dsn -compat')

0 commit comments

Comments
 (0)