Previous Topic: PASSWORD User ExitNext Topic: POSTRULE User Exit


POSTMOVE User Exit

Use the POSTMOVE user exit to manipulate data that has been moved from minidisks to SFS.

POSTMOVE entry filepool vaddr mmode dir dmode recomp

Definitions

entry

The directory entry that owns the data that has just been moved from a minidisk to SFS.

filepool

The name of the file pool to which the data was moved.

vaddr

The virtual address of the minidisk that was moved.

mmode

The CMS file mode at which the minidisk is currently accessed on the servant user ID.

dir

The fully qualified SFS directory name to which the data was moved.

dmode

The CMS file mode at which the SFS directory is currently accessed on the servant user ID.

recomp

Is RECOMP if the minidisk whose data was just moved has a recomputed area, or NORECOMP if the minidisk has no recomputed areas.

Description

Because of the requirements of issuing macro primitives, the POSTMOVE user exit cannot be written in assembler. It must be coded in REXX or EXEC2.

The POSTMOVE user exit uses CA VM:Secure macro primitives, commands that are issued within the user exit, to communicate with the servant user ID; the servant user ID has ACCESSed both the minidisk and the SFS directory.

The CA VM:Secure macro primitives that are most likely to be used are:

To use any of these primitives, precede it with the token TEST. This allows a nonzero return code to be passed back to the exit.

Note: For more information about macro primitives and how they work, see the chapter "Macros" in the Administration Guide.

The prototype user exit contains examples of the use of these primitives.

Return Codes

The following table describes the return code:

Return Code

Meaning

0

Completed

Macros

The following macro calls the POSTMOVE user exit:

Called by

Optimized Macro Name

Under These Circumstances

VMXSFMV2

MOVE2SFS

After moving the data on each minidisk