Automation Engine Script Guide > AE JCL for Applications > PeopleSoft > PS_GRANT_OUTPUT_ACCESS

PS_GRANT_OUTPUT_ACCESS

Authorizes users or roles for access to the output of a PeopleSoft process.

Interface: PROCESSREQUEST_SBB
PeopleSoft Version:
8+

Syntax

PS_GRANT_OUTPUT_ACCESS

Syntax

Description/Format

NAME=

Authorization identification: Name of a role or user
Format: script literal

TYPE=

Authorization type: Role or user
Format: script literal

Allowed values: "R" (default value) and "U"
"R" - Authorization given for a role
"U" - Authorization given for a user

The agent automatically uses "R" if a character other than "R" or "U" is specified.

PID=

Process instance designation
Format: Integer

JOBITEM=

Item number of a process within a PeopleSoft job
Format: Integer

Comments

This script element is used to dynamically and automatically assign access rights to the output of an executed PeopleSoft process. Rights can be issued for roles or users.

Using the optional PID= parameter, a particular process can be specified. If the parameter is not used, the script element refers to the process (PS_RUN_PROCESS) or job (PS_RUN_JOB) instance which was started or monitored immediately before.

If the script applies to a PeopleSoft job, individual rights for all processes in that job can be given using JOBITEM=. For example, rights for the first single process are given with JOBITEM=1, for the second single process with JOBITEM=2, etc. In case this parameter is not specified, identical rights are assigned for all PeopleSoft job single processes.

Example

In this example, the user "PS" is given access rights to the output of a PeopleSoft process.

PS_GRANT_OUTPUT_ACCESS NAME='PS',TYPE='U'

 

See also: