IBM Support

Transferring UDFS Objects from Basic ASP to an IASP

Troubleshooting


Problem

This document explain the step necessary to move UDFS from SYSBAS to IASP

Resolving The Problem

If customer needs to move an UDFS from SYSBAS to IASP it's necessary to follow following step:

If the UDFS are mounted, the steps are as follows:

1.Mount the UDFS (or leave them mounted):

MOUNT TYPE(*UDFS) MFS('/dev/qasp01/udfs.udfs') MNTOVRDIR('/ASPDir')
MOUNT TYPE(*UDFS) MFS('/dev/IASP/udfs.udfs') MNTOVRDIR('/IASPDir')
2.Copy the objects from the ASP to the IASP: 

CPY OBJ('/ASPDir/*') TODIR('/IASPDir')


If the UDFS are unmounted, the steps are as follows:

1.Unmount the currently existing ASP UDFS:

UNMOUNT TYPE(*UDFS) MNTOVRDIR('/ASPDir')
2.savsecdta:

SAVSECDTA DEV(*SAVF) SAVF(QGPL/SECDTA)
3.Save the unmounted UDFS:

SAV DEV('qsys.lib/qgpl.lib/udfs.savf') OBJ(('/dev/qasp01/udfs.udfs'))'
4.Restore the UDFS to the IASP:

RST DEV('qsys.lib/qgpl.lib/udfs.savf') OBJ(('/dev/qasp01/udfs.udfs' *INCLUDE '/dev/IASP/udfs.udfs')) 

Note: The UDFS must still be unmounted.
5.Restore the user profiles:

RSTUSRPRF DEV(*SAVF) USRPRF(profile) SAVF(QGPL/SECDTA)
6.Restore authority specifying the IASP on the RSTASPDEV parameter:

RSTAUT USRPRF(profile) RSTASPDEV(IASP)

It is suggested to do another SAVSECDTA after objects are moved.

[{"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":"6.1.0;7.1.0;7.2.0;7.3.0;7.4.0;7.5.0;7.6.0"}]

Historical Number

456972999

Document Information

Modified date:
16 September 2025

UID

nas8N1014253