30.06.2013 Views

Data Queue APIs--Categories - FTP Directory Listing - IBM

Data Queue APIs--Categories - FTP Directory Listing - IBM

Data Queue APIs--Categories - FTP Directory Listing - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Move Library to ASP (QHSMMOVL) API<br />

●<br />

●<br />

❍ The date use count reset will be set to blank.<br />

❍ The restore date and time will be set to the current date and time.<br />

The target ASP must have enough space for the library and its objects in order for the API to<br />

perform the move operation.<br />

The target ASP must be either the system ASP, a library-type ASP, or an empty ASP.<br />

Authorities and Locks<br />

See Lock Conditions When Saving and Restoring Objects in the Backup and Recovery book for detailed<br />

information on locks that are applied to objects during save operations.<br />

To prevent access to other jobs, the library is renamed to QHSMLIBxxx where xxx is a numeric increment<br />

to allow multiple concurrent move operations.<br />

The user profile must have *OBJALTER authority to the library if it does not have *ALLOBJ authority.<br />

See Authority Required for Objects Used by Commands in the Security - Reference book for detailed<br />

information on object authorities required when you save objects.<br />

Required Parameter Group<br />

Library name<br />

INPUT; CHAR(10)<br />

The name of the library to be moved to the specified auxiliary storage pool (ASP).<br />

Target auxiliary storage pool (ASP)<br />

INPUT; BINARY(4)<br />

The number of the auxiliary storage pool (ASP) to which the library is to be moved.<br />

The following values for the ASP number can be used:<br />

1-16<br />

The number that was assigned to the ASP at creation time. ASP 1 is the system ASP. This<br />

ASP must be different from the ASP where the library exists.<br />

Check dependencies<br />

INPUT; CHAR(10)<br />

The API checks for object, database and journal dependencies.<br />

You can use one of the following values:<br />

*YES<br />

The API will check for object dependencies, database dependencies outside the library, and<br />

for journal dependencies. An exception is signaled in case any of the conditions are found.<br />

*NO<br />

The API bypasses the validation for database and journal dependencies. This value could be<br />

used if the user knows that dependencies do not exist to save on processing time. However,<br />

http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qhsmmovl.htm (2 of 4) [10/4/1999 2:36:13 PM]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!