× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Chuck,

Move Library to ASP (QHSMMOVL) API

Thanks for the link.

Too many restrictions though, no can do.

Restrictions

Data queue entries are not moved and will be lost.
The QSYSWRK subsystem must be active.
A library cannot be moved in the following cases:
The library is considered a system library. The restricted libraries are:
Any library with a name that begins with the letter 'Q'.
Any library with a name that begins with the symbol '#' that is not considered a user library and the target ASP is not a basic user ASP.
Libraries SYSIBM, SYSIBMADM, SYSPROC, and SYSTOOLS.
Library SYSIBxxxxx (where xxxxx is the number of a primary ASP).
The library cannot be renamed. See the Rename Object (RNMOBJ) command for the restrictions on renaming a library.
The library contains *JRN or *JRNRCV objects, objects that are journaled or the library itself is journaled.
The library contains files with database dependencies outside the library.
The library is in the library list of the current thread.
The library is in the library list of any primary thread that is active on the system when the QLIBLCKLVL system value is set to lock libraries in the library list.
The library contains an allocated job queue or output queue.
The target ASP does not have enough space for the library and its objects.
The target ASP is not either the system ASP (ASP 1), a basic user ASP (ASPs 2-32), or a primary or secondary ASP in the range of 33-255. A library object (*LIB) must be able to be created into the target ASP, which means that the ASP cannot be a UDFS ASP and it cannot contain a journal, journal receiver or save file object where the object's ASP is a basic user ASP and the object's library is in the system ASP.
When the target ASP is a primary or secondary ASP, the library contains a job queue object (*JOBQ).
When the target ASP is a primary or secondary ASP, the library must contain only object types that can reside in an ASP. For a list of supported and unsupported object types in a primary or secondary ASP, see Independent disk pool examples.

-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Friday, June 24, 2016 11:12 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Improve R&D LPAR poor disk performance (10K spiiny); Move Library to a different ASP

On 24-Jun-2016 07:38 -0500, Steinmetz, Paul wrote:
Is there a command or tool to move a library from ASP1 (10k spinny) to
ASP2 (Virtual SSD)?

There is an API, category Hierarchical File System (HFS), IIRC.

I was finally able to get some response on my browser, and found the Move Library to ASP (QHSMMOVL) API that "moves a library and its contents from its existing auxiliary storage pool (ASP) to the specified target ASP through a save and restore operation. The API preserves private authorities to the objects that would normally be lost with a save and restore operation."
[http://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_72/apis/qhsmmovl.htm]

With the Private Authority (PVTAUT) feature of save\restore, that API would presumably have less value than prior to that capability; but there is a "Check dependencies" feature provided, because not all [objects\object-types] for a library can be /moved/ into other than the primary\*SYSBAS ASP.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.