z/OS DFSMSrmm Managing and Using Removable Media
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


CHANGEDATASET: Changing data set information

z/OS DFSMSrmm Managing and Using Removable Media
SC23-6873-00

Read syntax diagramSkip visual syntax diagram
>>-+-CHANGEDATASET-+--data_set_name--VOLUME(volume_serial)------>
   '-CD------------'                                         

>--+---------+--+-------------+--------------------------------->
   +-ABEND---+  '-BESKEY(key)-'   
   '-NOABEND-'                    

>--+----------------------------+------------------------------->
   '-BLKCOUNT(number_of_blocks)-'   

>--+-------------------------+---------------------------------->
   |                     (1) |   
   '-BLKSIZE(block_size)-----'   

>--+-----------------------------------------+------------------>
   '-COPYFROM--(--| COPYFROM parameters |--)-'   

>--+--------------------------------+--+--------------------+--->
   |         .-current_date-.   (1) |  '-CRSYSID(system_ID)-'   
   '-CRDATE(-+-create_date--+-)-----'                           

>--+--------------------------------+--------------------------->
   |         .-current_time-.   (1) |   
   '-CRTIME(-+-create_time--+-)-----'   

>--+-------------------------------+---------------------------->
   |                           (2) |   
   +-DATACLASS(dataclass_name)-----+   
   |             (2)               |   
   '-NODATACLASS-------------------'   

>--+---------------------------+--+--------------------+-------->
   |                       (1) |  '-DELETED(-+-NO--+-)-'   
   '-DDNAME(create_ddname)-----'             '-YES-'       

>--+---------------------------+--+------------------------+---->
   |                       (1) |  +-EXPDT(expiration_date)-+   
   '-DEVNUM(device_number)-----'  '-RETPD(parmlib_default)-'   

>--+--------------------------------------------+--------------->
   |                                        (1) |   
   '-FILESEQ(physical_file_sequence_number)-----'   

>--+-----------+--+-----------------------------+--------------->
   |       (3) |  |                         (2) |   
   '-FORCE-----'  '-JOBNAME(create_jobname)-----'   

>--+-------------------------------------------+---------------->
   |                                       (1) |   
   '-LABELNUMBER(data_set_sequence_number)-----'   

>--+--------------------+--+----------------------+------------->
   |            (1)     |  |             (1)      |   
   +-LASTDDNAME----(dd)-+  +-LASTJOBNAME----(job)-+   
   |              (1)   |  |               (1)    |   
   '-NOLASTDDNAME-------'  '-NOLASTJOBNAME--------'   

>--+----------------------------------------+------------------->
   |                                    (2) |   
   +-LASTPROGRAMNAME(last_program_name)-----+   
   |                   (2)                  |   
   '-NOLASTPROGRAMNAME----------------------'   

>--+---------------------+--+------------------------+---------->
   +-LASTREF(extra_days)-+  |              (1)       |   
   '-NOLASTREF-----------'  +-LASTSTEPNAME----(step)-+   
                            |                (1)     |   
                            '-NOLASTSTEPNAME---------'   

>--+----------------------------------+------------------------->
   |                              (1) |   
   '-LRECL(logical_record_length)-----'   

>--+-------------------------------------------+---------------->
   |                                       (2) |   
   +-MANAGEMENTCLASS(managementclass_name)-----+   
   |                   (2)                     |   
   '-NOMANAGEMENTCLASS-------------------------'   

>--+---------------------------------------+-------------------->
   |                                   (2) |   
   +-MANAGEMENTVALUE(management_value)-----+   
   |                   (2)                 |   
   '-NOMANAGEMENTVALUE---------------------'   

>--+--------------------------+--------------------------------->
   '-NEWDSNAME(data_set_name)-'   

>--+--------------------------------+--------------------------->
   '-ORIGINALEXPDT(expiration_date)-'   

>--+----------------------+------------------------------------->
   |                  (1) |   
   '-PERCENT(percent)-----'   

>--+--------------------------------------+--------------------->
   |                                  (2) |   
   +-PROGRAMNAME(create_program_name)-----+   
   |               (2)                    |   
   '-NOPROGRAMNAME------------------------'   

>--+----------------------------------+------------------------->
   |                          (1) (2) |   
   '-READDATE(last_read_date)---------'   

>--+--------------------------+--+--------------------------+--->
   |                      (1) |  +-SECLEVEL(security_class)-+   
   '-RECFM(record_format)-----'  '-NOSECLEVEL---------------'   

>--+-------------------------------+---------------------------->
   |                           (1) |   
   '-STEPNAME(create_stepname)-----'   

>--+-------------------------------------+---------------------->
   |                                 (2) |   
   +-STORAGECLASS(storageclass_name)-----+   
   |                (2)                  |   
   '-NOSTORAGECLASS----------------------'   

>--+--------------------------+--+-----------------------+------>
   |                      (1) |  '-TZ({+|-}HH[:MM[:SS]])-'   
   '-TOTALBLKCOUNT(count)-----'                              

>--+-----------------------------+------------------------------>
   |                         (2) |   
   '-VRSELEXCLUDE(-+-NO--+-)-----'   
                   '-YES-'           

>--+------------------------------------+----------------------><
   |                            (1) (2) |   
   '-WRITEDATE(last_write_date)---------'   

COPYFROM parameters

|--VOLUME(oldvolume)--+----------------+------------------------>
                      '-DSN(olddsname)-'   

>--+-----------------------+--+-------------+------------------->
   |          .-1------.   |  '-RETPD(days)-'   
   '-FILESEQ(-+-oldseq-+-)-'                    

>--+--------------+---------------------------------------------|
   '-VRSELEXCLUDE-'   

Notes:
  1. When this operand is specified, the FORCE operand must also be specified if DFSMSrmm has automatically recorded information about the volume during O/C/EOV processing of a data set on the volume. To use the FORCE operand, you must have CONTROL access to the STGADMIN.EDG.MASTER security resource and UPDATE access to the STGADMIN.EDG.FORCE security resource.
  2. This operand can be specified only by a user with CONTROL access to the STGADMIN.EDG.MASTER security resource. Owner authorization does not apply.
  3. Specify this operand to change a data set for a volume where information was recorded by DFSMSrmm during O/C/EOV processing. You must have CONTROL access to the STGADMIN.EDG.MASTER security resource and UPDATE access to the STGADMIN.EDG.FORCE security resource to use the FORCE operand.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014