Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
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 />
Move Library to ASP (QHSMMOVL) API<br />
Required Parameter Group:<br />
1 Library name Input Char(10)<br />
2 Target auxiliary storage pool (ASP) Input Binary(4)<br />
3 Check dependencies Input Char(10)<br />
4 Error code I/O Char(*)<br />
The Move Library to ASP (QHSMMOVL) API moves a library and its contents from its existing auxiliary<br />
storage pool (ASP) to the specified target ASP through a save and restore process. The API, however, will<br />
preserve private authorities to the objects that would normally be lost with a save and restore operation.<br />
Restrictions<br />
The Move Library to ASP (QHSMMOVL) API has the following restrictions:<br />
● When you move a library from the system ASP to a user ASP, libraries and their objects are<br />
checked for eligibility.<br />
❍ Libraries that begin with 'Q' are considered to be system libraries and will not be moved. See<br />
the Backup and Recovery book for detailed information on the list of objects that cannot be<br />
moved.<br />
❍ If a library contains objects that cannot be renamed, the library is not allowed to be moved.<br />
See the CL Reference (Abridged) book for the list of the objects that cannot be renamed.<br />
● Libraries that contain journal objects or journaled files are not allowed to be moved.<br />
● Libraries that contain files with database dependencies outside the library are not allowed to be<br />
moved.<br />
● Job queue and output queue entries are moved if the queue is not allocated.<br />
● <strong>Data</strong> queue entries are the responsibility of the user and will be lost.<br />
● A library that is in the current library (*CURLIB) is not allowed to be moved.<br />
● Libraries that are in a library list are not allowed to be moved.<br />
● The QSYSWRK subsystem must be active.<br />
● Program (*PGM) objects in a library will be placed in library QRPLOBJ and another copy of each<br />
*PGM object will be moved with the library to the target ASP.<br />
●<br />
After a library has been moved, the following attributes are changed<br />
❍ The date last used will be set to blank.<br />
❍ The change date and time will be set to the current date and time.<br />
❍ The days used count will be set to zero.<br />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qhsmmovl.htm (1 of 4) [10/4/1999 2:36:13 PM]