IBM Support

How to move IFS directory objects from *SYSBAS to an iASP

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":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z000000cwp6AAA","label":"Save Restore"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions"}]

Document Information

More support for:
IBM i

Component:
Save Restore

Software version:
All Versions

Operating system(s):
IBM i

Document number:
666395

Modified date:
11 November 2024

UID

nas8N1020865

Manage My Notification Subscriptions