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
Specifies the user ID that is moving the data.
Specifies the user ID that owns the data being moved.
Specifies the name of the file pool to which the data is being moved.
Specifies the address of the minidisk being moved.
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.
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 |
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 |
|
Copyright © 2014 CA.
All rights reserved.
|
|