Work with Admin for OnDemand (WRKADMRDAR)

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

The Work with Admin for OnDemand (WRKADMRDAR) Command allows you to administer the OnDemand product. You can work with reports, report extensions, report groups, policies, overlays, and object control table entries.

Top

Parameters

Keyword Description Choices Notes
TYPE Administrator function *REPORT, *RPTEXT, *RPTGRP, *RPTOVL, *RPTCOL, *OBJCOL, *OCT, *RPTPCY, *OBJPCY Required, Positional 1
REPORT Report name Generic name, name, *ALL Optional
RPTEXT Report extension name Generic name, name, *ALL Optional
RPTGRP Report group Generic name, name, *ALL Optional
RPTCOL Report policy Generic name, name, *ALL Optional
RPTOVL Report overlay Generic name, name, *ALL Optional
OBJCOL Object policy Generic name, name, *ALL Optional
OCTLIB OCT library Generic name, name, *ALL Optional
Top

Type (TYPE)

Specifies the type of administration to be performed.

This is a required parameter.

*REPORT
This option allows you to work with report definitions. Using this option, you may create, delete, display, update, and copy a report definition.

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

*RPTEXT
This option allows you to work with report definition extensions. Using this option, you may create, delete, display, update, and copy a report definition extension.

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 report groups. Using this option, you may create, delete, display, update, and copy a report group.

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

*RPTOVL
This option allows you to work with a report overlay. Using this option, you may create, delete, display, and update the overlay lines for a report.

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

*RPTCOL
This option allows you to work with report policy entries. Using this option, you may create, delete, display, and update the Report Policy entries.

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

*OBJCOL
This option allows you to work with object policy entries. Using this option, you may create, delete, display, and update the Object Policy entries.

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

*OCT
This option allows you to work with entries that are in the Object Control Table (OCT). Using this option, you may add, delete, display, and change the OCT entries.

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

Top

Report name (REPORT)

Specifies the name of the report definition that you want to work with.

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.

*ALL
All of the report definitions are shown.
generic*-report-name
Specify the generic name of the report definitions to work with.
report-name
Specify the name of a report definition to work with.
Top

Report extension name (RPTEXT)

Specifies the name of the report definition extension that you want to work with.

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.

*ALL
All of the report definition extensions are shown.
generic*-report-extension-name
Specify the generic name of the report definition extensions to work with.
report-extension-name
Specify the name of a report definition extension to work with.
Top

Report group (RPTGRP)

Specifies the name of the report group that you want to work with.

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.

*ALL
All report groups are shown.
generic*-group-name
Specify the generic name for the report groups that you want to work with.
group-name
Specify the name of a report group to work with.
Top

Report policy (RPTCOL)

Specifies the name of the Report Policy for which entries are shown on the Work with Report Policies display.

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.

*ALL
All report policies are shown.
generic*-policy-name
Specify the generic name of the report policies to work with.
policy-name
Specify the name of a report policy to work with.
Top

Report overlay (RPTOVL)

Specifies which report overlays are shown on the Work with Report Overlays display.

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.

*ALL
All report overlays are shown.
generic*-overlay-name
Specify the generic name of the report overlays to work with.
overlay-name
Specify the name of a report overlay to work with.
Top

Object policy (OBJCOL)

Specifies the name of the object policy for which entries are shown on the Work with Object Policies display.

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.

*ALL
All object policies are shown.
generic*-policy-name
Specify the generic name of the object policies to work with.
policy-name
Specify the name of an object policy to work with.
Top

OCT library (OCTLIB)

Specifies the name of the library for which Object Control Table (OCT) entries are shown on the Work with Object Control Table display.

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.

*ALL
All OCT entries are shown.
generic*-OCT-name
Specify the generic name of the OCT libraries to work with.
OCT-name
Specify the name of an OCT library to work with. displayed.
Top

Examples

Example 1: Simple Example

WRKADMRDAR TYPE(*REPORT)

This command example initiates the OnDemand Spool File Archive administrative functions for all report definitions (*REPORT). Other administrative functions that can be specified include report extensions (*RPTEXT), report groups (*RPTGRP), report overlays (*RPTOVL), report migration policies (*RPTPCY), and object migration policies (*OBJPCY).

Example 2: More Complex Example

WRKADMRDAR TYPE(*REPORT) REPORT(C*)

This command is similar to Example 1 but provides a generic value for the report definition name to subset the list of report definitions with which to work. Each administrative function described in Example 1 allows the entry of a specific name, a generic name, or *ALL.

Top

Error messages

*ESCAPE Messages

CPF9899
Error occurred during processing of command.
Top