Account Code Derivation for Linux Exit (LNXACRT)
This section explains how to code an account code exit for the files in the Linux (LNX) information area.
micsrm140
This exit routine is a user-written routine. It is similar to the VMCACRT routine described in the previous section and is invoked for each Linux process activity input record processed. This SAS routine builds the account code data elements defined in the previous section. For example, if the VMCACCT member in sharedprefix.MICS.PARMS defines four account code levels, this user routine has the responsibility of building the data value of those four fields for each record processed.
The user account code routine is written in SAS code. The testing and accuracy of the process is the responsibility of the user. However, a sample Account Code Exit Routine is provided to help verify the accuracy of the user modifications to the routine. The worksheet for structuring the CP Account Code Exit Routine is shown in Account Code Derivation Exit (VMCACRT).
Each of the data elements contained in the Linux Process Activity File (LNXLXP) is available for use by the Account Code Exit LNXACRT Routine. See the appropriate section in Files for a list of the elements that are available for use.
Data elements frequently used to determine account code values are:
- LNXLUSNM - Linux Logon User Name
- LNXLGPNM - Linux Logon Group Name