ONXMOVE Transfer files to another private volume / PVS

ONXMOVE :x: [,smspar] [,vsn/device] | vsn/device | [PUBLIC | DEFCAT] [,smspar] [, A] [, ED]

:x: The files marked with X will be copied under the same name to the specified Public Volume Set and erased from the original set.

smspar If the file is to be moved to an SM (System Managed) pubset, then the location of the file (Volume set) can be determined more precisely by means of this parameter, and the defaults set by the system administrator.

If the parameter :x: is not specified before smspar, then smspar will be applied to the default pubset of the userid.

AVAILABILITY=HIGH

The file should be located within the SM pubset on a Volume set composed of protected volumes, such as DRV-mirrored drives.

STORAGE-CL=class

Name of a Storage class created by the system administrator. The Storage class determines the Volume set for the file, and hence the storage characteristics such as Performance Attribute and Availability.

VOLUME-SET=vset [,S0-MIGRATION=*ALLOWED|*FORBIDDEN]

Determines the Volume set within the SM pubset on which the file should be located. The system administrator can specify a Volume set explicitly , either by means of *CONTROL, or by specifying a one to four character Cat-Id vset (without the ':').

Non-privileged users can only specify Volume sets explicitly if the system administrator has granted physical allocation rights.

VOLUME-SET=vset,S0-MIGRATION=*ALLOWED

By default, when issuing a MOVE command to a specific Volume Set of a PVS, the attribute S0-MIGRATION can be set to FORBIDDEN. The parameter S0-MIGRATION can now be used to set the attribute to ALLOWED, as is usually the case before a MOVE operation.

WORK-FILE=YES|NO

Specifies whether or not the file is classified as a Work file, which may be deleted by the system administrator after a pre-determined time. Work files are created on Volume sets which have been designated as a WORK Volume set.

vsn/device The files marked with X will be copied under the same name to the specified private volume, and erased from the original device.

PUBLIC The files marked with X will be copied under the same name to public discs and erased from the original device.

DEFCAT The files marked with the Action Code X will be created under the same name in the public area of the Default pubset of the respective userid, and then deleted from the original volume.

A All. The Move operation will also be executed for empty files.

Notes:

The ONXMOVE Variable Action cannot be executed for File Generation Groups. To move an FGG to another PVS it must first be selected with the VOLUME :FGG parameter, and then copied with the Variable Action ONXCOPY''=':pvs:'.

The Variable Action will call the PAMCONV program internally when moving files with BLKCTRL=PAMKEY to a nonkey PVS.

ED Erase Destroy. The file on the source volume will be overwritten with binary zeroes.

Examples:

ONXMOVE PVT001/D348E

The files marked with X will be moved to the private volume PVT001, and erased from the original devices.

ONXMOVE :G:

The files marked with X will be created on the PVS :G: and erased from the original PVS.