Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Data Queue APIs--Categories - FTP Directory Listing - IBM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Move Folder to ASP (QHSMMOVF) API<br />
Move Folder to ASP (QHSMMOVF) API<br />
Required Parameter Group:<br />
1 Folder name Input Char(12)<br />
2 Target auxiliary storage pool (ASP) Input Binary(4)<br />
3 Error code I/O Char(*)<br />
The Move Folder to ASP (QHSMMOVF) API moves a root folder and its contents from its existing<br />
auxiliary storage pool (ASP) to the specified target ASP through a save and restore process. The API,<br />
however, will retain private authorities to the objects that would normally be lost with a save and restore<br />
operation.<br />
Restrictions<br />
The Move Folder to ASP (QHSMMOVF) API has the following restrictions:<br />
● The folder must be a root folder and will be moved as such.<br />
● The folder and its contents must not be in use by other jobs.<br />
●<br />
●<br />
●<br />
●<br />
●<br />
●<br />
●<br />
●<br />
Folders that were restored using the Restore Licensed Program (RSTLICPGM) should not be<br />
moved.<br />
After the root folder has been moved, the following parameters 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 />
❍ The days used count reset will be set to blank.<br />
❍ The save date/time and restore date/time will be updated.<br />
The target ASP must have enough space for the folder and its objects in order for the API to<br />
perform the move action.<br />
The target ASP must be either the system ASP, a library-type ASP, or an empty ASP.<br />
The user must be enrolled in the system distribution directory.<br />
Access codes are the responsibility of the user and will be lost.<br />
A root folder that contains documents checked out or saved with STG(*FREE) will not be moved.<br />
A root folder that contains more than 99 subfolders will not be moved.<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 />
http://infocntr.rchland.ibm.com/pubs/html/as400/v4r5/ic2924/info/apis/qhsmmovf.htm (1 of 3) [10/4/1999 2:36:05 PM]