ULSRMPEX - Modify PF Key Codes

#### Search Results

Search

# ULSRMPEX - Modify PF Key Codes

You can provide user exit ULSRMPEX to make the required modifications. The exit will loaded during Com-plete initialization and be called with the following register conventions:

R1 | address of parmlist (explained below)
R2 | COMREG
R5 | TIB
RD | standard save area
RE | return addr
RF | entry point

All registers have to be restored before return.

The program will be called according to its RMODE specification and has to return via B COMRETRN (in COMREG). Since it will be executed under control of thread-task it has to be reentrant and can't use any Com-plete OP-Codes (MCALL).

The parmlist contains 4 parms:

P1 | address of a halfword function code x'0010' called after AID/MRCBECDE translation
P2 | address of mapname (CL6)

P3 and P4 are dependent on the function code (P1).

For X'0010' they have the following meaning:

P3 | address of the AID in the input buffer (CL1)
P4 | address of the enter code (MRCBECDE) in the MRCB (CL2)

The exit can set the MRCBECDE according to your needs. It should be noted that all Com-plete utilities and the related maps (prefix = C'U') are dependent on the standard MRCBECDE values of Com-plete and will not work properly if any translation is performed.