Previous Topic: Conversion of Retrieved Fields

Next Topic: Name Argument

Request Security Product Data

To retrieve information about the security product (if any) on your system, use this form of the OPSECURE function:

var = OPSECURE('I', 'name')

Note: When a name other than PRODUCT, MODE, or RELEASE is specified, the information returned is based on the security environment of the current task or address space. If the current address space does not have a valid security environment (for example, the CONSOLE address space), the result of the function is INVALID SECURITY ENVIRONMENT. For commands issued from real MCS consoles, always use the CMD.USERID environmental variable to obtain the user ID of the command issuer in a CMD rule.