Move Folder to ASP (QHSMMOVF) API


  Required Parameter Group:


  Default Public Authority: *USE

The Move Folder to ASP (QHSMMOVF) API moves a root folder and its contents from its existing auxiliary storage pool (ASP) to the specified target ASP through a save and restore process. The API, however, will retain private authorities to the objects that would normally be lost with a save and restore operation.


Restrictions

The Move Folder to ASP (QHSMMOVF) API has the following restrictions:


Authorities and Locks

For detailed information about locks that are applied to objects during save operations, see the Backing up your system topic collection.

To prevent access to other jobs, the folder is renamed to QHSMFLR.xxx, where xxx is a numeric increment to allow multiple concurrent move operations.

The user profile must have *OBJALTER authority to the folder and its objects if it does not have *ALLOBJ authority.

See Authority required for objects used by commands in the Security reference topic collection for detailed information about object authorities required when you save objects.


Required Parameter Group

Folder name
INPUT; CHAR(12)

The name of the folder to be moved to the specified auxiliary storage pool (ASP).

Target auxiliary storage pool (ASP)
INPUT; BINARY(4)

The number of the auxiliary storage pool (ASP) to which the folder is to be moved. You can use one of the following values for the ASP number:


Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V4R3

[ Back to top | Object APIs | APIs by category ]