Security

The SECURITY and UTOKEN parameters on the AXREXX macro determine the security environment that the exec runs in. If omitted, the exec will run under the same security environment as its invoker. The security environment determines the data sets that may be accessed and the commands and programs that may be invoked. The exec should not invoke any services that alter the security environment of the task running the exec.

If an exec is invoked from a console that is not logged on, or via the AXREXX macro from an address space that does not have a valid security environment (using SECURITY=BYUTOKEN without specifying a UTOKEN), certain facilities such as SYSCALL host commands will not function properly.