Question & Answer
Question
How to move an IFS directory or its objects from *SYSBAS to an iASP
Cause
How to move an IFS directory or its objects from *SYSBAS to an iASP without using a save/restore method.
Answer
1) Vary on iASP
WRKCFGSTS CFGTYPE(*DEV) CFGD(*ASP)
*Note: Ensure that all iASP devices have a status of available. Select Option 1 to vary on if necessary to change status to available
2) Create the directory on the iASP if it doesn't already exist
CRTDIR DIR('/iasp_name/dir_name')
3) Move the directory objects to the directory on the iASP
MOV OBJ('/dir_name/*') TODIR('/iasp_name/dir_name')
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1020865