This example shows how to use the ALTER line operator to change
the name of the SMS management class associated with a cataloged data
set.
Generate a data set list and verify that the list has SMS-managed
entries. Enter FIND 23 on the command line to display SMS columns.
If a storage class name is listed for a given data set, that data
set is SMS managed.
- Enter ALTER line operator in the line operator column next to
the data set for which you want to assign a new management class,
as shown in Figure 1.
Figure 1. Entering the ALTER Line
Operator on a Data Set List Panel List Dataset Utilities Scroll Help
-------------------------------------------------------------------------------
DATA SET LIST COLUMN FOUND
Command ===> SCROLL ===> PAGE
Entries 1-4 of 4
Enter Line Operators Below: Data Columns 25-27 of 41
LINE DATA MANAGEMENT STORAGE
OPERATOR DATA SET NAME CLASS NAME CLASS NAME CLASS NAME
---(1)---- ------------(2)------------ ---(25)--- ---(26)--- ---(27)---
S2IISAMP.S1P01.DS102.DATA -------- -------- --------
S2IISAMP.S1P98.DS101 -------- -------- S1P98S01
S2IISAMP.S1P98.DS101.DATA -------- -------- --------
alter S2IISAMP.S1P98.DS103 -------- -------- S2P98S01
---------- ------ ----------- BOTTOM OF DATA ----------- ------ ----
- Press the ENTER key. ISMF displays the Data Set ALTER Entry Panel
as shown in Figure 2. Complete the Data Set
ALTER Entry Panel with the values shown.
Figure 2. Completing the ALTER Entry
Panel Panel Utilities Help
-------------------------------------------------------------------------------
DATA SET ALTER ENTRY PANEL
Command ===>
Data Set Name: USER10.WORK.TEXT
Data Set Entry Type: NONVSAM
Data Set Environment: UNMANAGED
Current Expiration Date: 0000/00/00
To Alter Data Set, Specify:
New Expiration Date . . . (YYYY/MM/DD, 0 to 9999, or NEVER)
Roll-in Deferred, Rolloff GDS Only . . (Y or N)
Use ENTER to Perform ALTER;
Use HELP Command for Help; Use END Command to Exit.
At this point, you can use the SPLIT SCREEN function and
generate a management class list in order to list candidate management
classes for your data set. However, if you know the name of the management
class you want to select (in this example, s1p01m01), enter that name
in the NEW MANAGEMENT CLASS field.
- Press the ENTER key. ISMF submits the job and redisplays the list,
as shown in Figure 3.
Figure 3. Successful Submission for
ALTER Panel List Dataset Utilities Scroll Help
-------------------------------------------------------------------------------
DATA SET LIST
Command ===> SCROLL ===> PAGE
Entries 1-4 of 4
Enter Line Operators Below: Data Columns 25-27 of 41
LINE DATA MANAGEMENT STORAGE
OPERATOR DATA SET NAME CLASS NAME CLASS NAME CLASS NAME
---(1)---- ------------(2)------------ ---(25)--- ---(26)--- ---(27)---
S2IISAMP.S1P01.DS102.DATA -------- -------- --------
S2IISAMP.S1P98.DS101 -------- -------- S1P98S01
S2IISAMP.S1P98.DS101.DATA -------- -------- --------
*ALTER S2IISAMP.S1P98.DS103 -------- -------- S2P98S01
---------- ------ ----------- BOTTOM OF DATA ----------- ------ ----
The asterisk next to the ALTER line operator in the line
operator column indicates that the operation has completed successfully.
- To verify that the new management class will be used for the data
set, refresh the list with the REFRESH command and display the management
class column to make sure the new management class name is there. Figure 4 shows the refreshed data set list, which
verifies the successful data set alter.
Figure 4. Verifying a Successful
Data Set Alter Panel List Dataset Utilities Scroll Help
-------------------------------------------------------------------------------
DATA SET LIST LIST REFRESHED
Command ===> SCROLL ===> PAGE
Entries 1-4 of 4
ENTER LINE OPERATORS BELOW: Data Columns 25-27 of 41
LINE DATA MANAGEMENT STORAGE
OPERATOR DATA SET NAME CLASS NAME CLASS NAME CLASS NAME
---(1)---- ------------(2)------------ ---(25)--- ---(26)--- ---(27)---
S2IISAMP.S1P01.DS102.DATA -------- -------- --------
S2IISAMP.S1P98.DS101 -------- -------- S1P98S01
S2IISAMP.S1P98.DS101.DATA -------- -------- --------
S2IISAMP.S1P98.DS103 -------- S1P01M01 S2P98S01
---------- ------ ----------- BOTTOM OF DATA ----------- ------ ----