Previous Topic: Recommendations for Using the POSTRULE ExitNext Topic: RULEUPDT User Exit


PREMOVE User Exit

Use the PREMOVE user exit to provide the name of the destination directory in SFS for data being moved from minidisk to SFS.

PREMOVE userid userid2 filepool maddr

Definitions

userid

Specifies the user ID that is moving the data.

userid2

Specifies the user ID that owns the data being moved.

filepool

Specifies the name of the file pool to which the data is being moved.

maddr

Specifies the address of the minidisk being moved.

Description

The directory name stacked by the PREMOVE user exit when the return code is set to 4 should not include the filepool name or the top-level directory. It should also not include a colon or leading period.

If the directory named by the stacked line does not exist, it will be created. Only a single level of a directory can be created. You can specify multiple levels of a directory only when all but the lowest level already exists.

If you want to move the data to the top-level directory, stack a blank line and exit with a RC=4.

Return Codes

The following table describes the return codes:

Return Code

Meaning

0

SFS destination directory name has not been stacked

4

SFS destination directory name has been stacked

Macros

The following macro calls the PREMOVE user exit:

Called by

Optimized Macro Name

Under These Circumstances

VMXSFMV2

MOVE2SFS

Before moving the data on each minidisk