Work with Security OnDemand (WRKSECRDAR)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Security OnDemand (WRKSECRDAR) Command allows you to specify the security for the OnDemand product. Security can be established at the product, report, or key level.

Top

Parameters

Keyword Description Choices Notes
TYPE Security function *USER, *RPTGRP, *REPORT, *KEY Required, Positional 1
REPORT Report name Name Optional
VERSION Version 1-99, 01 Optional
RPTGRP Report group Name Optional
Top

Type (TYPE)

Specifies the type of security to process.

This is a required parameter.

*USER
This option allows you to work with the authorities for your OnDemand users.
*REPORT
This option allows you to work with the authorities for a report. From this display you may add or remove users who are authorized to an OnDemand report or you may change the level of authority that a user has for a report.

Note: This value can only be specified if the Content Manager OnDemand Spooled File Archive is installed.

*RPTGRP
This option allows you to work with the authorities for report groups. From this display you may add or remove users who are authorized to a report group or you may change the level of authority that a user has for a report group.

Note: This value can only be specified if the Content Manager OnDemand Spooled File Archive is installed.

*KEY
This option allows you to define for each key in a report, the range of key values each user can view, print, or FAX (if available).

Note: This value can only be specified if the Content Manager OnDemand Spooled File Archive is installed.

Top

Report name (REPORT)

Specifies the name of the report for which you want to define or change the security.

Note: If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.

Top

Version (VERSION)

Specifies for which version of the report you want to define or change the key security.

01
The first version of the report definition is used.
01-99
Specify the version number of the report to use.
Top

Report group (RPTGRP)

Specifies the name of the report group that you want to secure.

Note: If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.

name
Specify the name of the report group for which you want to authorize users.
Top

Examples

Example 1: Simple Example

WRKSECRDAR TYPE(*REPORT)

This command example initiates the OnDemand security functions for all OnDemand reports (*REPORT). Other security types that can be specified include report group security (*RPTGRP), report key security (*KEY), and OnDemand users (*USER).

Example 2: More Complex Example

WRKSECRDAR TYPE(*REPORT) REPORT(CHECKSTMTS)

This command is similar to Example 1 but provides a specific value for the report name to be secured.

Top

Error messages

*ESCAPE Messages

CPF9899
Error occurred during processing of command.
Top