Real, Saved, and Effective Process Identities

You can use the SECURITYMODE file attribute to specify that a code file should run under the usercode or group code of the code file itself, instead of the usercode or group code received from the initiator. Once the code file is initiated, it can freely toggle back and forth between the usercode and group code of the code file and the usercode and group code of the initiator.

You can also use the SECURITYMODE file attribute to specify that when a job is started, it should run under the usercode or groupcode of the job symbol instead of the usercode or groupcode of the initiator.