Parameters for the ESDS logical delete exit

The VSAM log delta utility calls the ESDS logical delete exit and passes information through multiple parameters.

Register 1 points to a standard parameter list on entry to an ESDS logical delete exit. The standard LE Interlanguage Program linkage is used. For COBOL, the parameter list contains 31-bit addresses and values for parameters.

The ESDS logical delete exit parameter list is included as part of the sample COBOL ESDS logical delete exit, which is distributed as SCACSAMP(CECVSMLX).

Parameters that are passed to the ESDS logical delete exit

The ESDS logical delete exit parameter list consists of multiple fields as described in Table 1. Some of the fields contain the actual parameter value and other entries are pointers to areas that contain the actual value.

Table 1. Parameters passed to the ESDS logical delete exit
       
User double word 8 bytes Input/output The user double word is initialized to binary zeroes before the first call. The exit can use this area for any purpose. The value that the exit puts in this area is returned to the exit for each subsequent call.

Passed by reference.

Record address 4 bytes Input Address of the after image of an update that is sent to the target. You set your logical delete indicator in this buffer so the record at this RBA is viewed as logically deleted at the target.

You might only access storage from this address for length passed in the record length value.

Passed by reference.

Record length 4 bytes Input The number of bytes in the record that defines the bounds under which the exit may change data.

Passed by value.

DSN 4 bytes Input The address of the data set name. You may access this area for up to 44 bytes. The DSN is padded with binary zeroes.

Passed by reference.

RBA 8 bytes Input The RBA of the record.

Passed by value.