Add to CM for OnDemand (ADDVIRDAR)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Add to CM for OnDemand (ADDVIRDAR) command will add existing OnDemand report indexes into Content Manager for iSeries as external data references. The Add to CM for OnDemand (ADDVIRDAR) command adds the indexes to a Content Manager for iSeries interface file (EKD0314).

Top

Parameters

Keyword Description Choices Notes
REPORT Report name Character value Required, Positional 1
VERSION Version 1-99, *HIGHEST Required, Positional 2
RPTDATE Report date range Element list Required, Positional 3
Element 1: From date Character value, *AVAIL, *CURRENT
Element 2: To date Character value, *CURRENT
CALLVI Call CM for iSeries program *YES, *NO Optional, Positional 4
SBMJOB Submit to batch *YES, *NO Optional
JOBD Job description Qualified object name Optional
Qualifier 1: Job description Name, QRDARS400
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

Report name (REPORT)

Specify the name of the report(s) that you want to integrate into Content Manager for iSeries.

This is a required parameter.

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)

Specify the version of the report(s) that should be integrated.

*HIGHEST
The highest defined version of the report definition is used.
01-99
Specify the version number of the report to use.
Top

Report date range (RPTDATE)

Specifies the earliest and latest dates of the report(s) that should be integrated.

Element 1: From date

date
Specify a date using the format YYYYMMDD where YYYY represents the year, MM the month, and DD the day. Do not use any type of special characters to separate year, month, and day values.
*AVAIL
The date of the earliest available report is used.
*CURRENT
Today's date is used.

Element 2: To date

date
Specify a date using the format YYYYMMDD where YYYY represents the year, MM the month, and DD the day. Do not use any type of special characters to separate year, month, and day values.
*CURRENT
Today's date is used.
Top

Call CM for iSeries program (CALLVI)

Specify if you want to call the QVIXRFINX program to complete the addition process for the report(s) into Content Manager for iSeries.

The QVIXRFINX program adds all OnDemand report indexes which have been placed in the Content Manager for iSeries interface file into Content Manager for iSeries.

Note: For an OnDemand report to be available for retrieval from the Content Manager workstation client, the QVIXRFINX program must be called to add the OnDemand report indexes into Content Manager for iSeries.

*YES
If you specify *YES, the QVIXRFINX program will be called to add the specified report(s) into Content Manager for iSeries.
*NO
If you specify *NO, the OnDemand report(s) specified will only be added to the Content Manager for iSeries interface file. A later call of the QVIXRFINX program is required to complete the addition of all OnDemand report indexes into Content Manager for iSeries.
Top

Submit to batch (SBMJOB)

Specify if you want to integrate the reports interactively or in a batch job.

*YES
This command should be submitted to run in a different job.
*NO
This command should be run within the current job. If you are entering this command from a terminal, this will prevent you from doing any other work from this terminal session until this command completes.
Top

Job description (JOBD)

Specifies the name of the job description used for the submitted job.

Qualifier 1: Job description

QRDARS400
The QRDARS400 job description is used as the job description for the submitted job.
name
Specify the name of the job description used for the job.

Qualifier 2: Library

*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the job description name. If no library is specified as the current library for the job, QGPL is used.
name
Specify the name of the library where the job description name is located.
Top

Examples

Example 1: Simple Example

ADDVIRDAR REPORT(CHECKSTMTS) VERSION(*HIGHEST)
            RPTDATE(20020101 20020101)SBMJOB(*NO)

This command runs interactively to add existing OnDemand Spool File Archive report indexes to Content Manager (previously known as VisualInfo or VI) for the OnDemand report definition named CHECKSTMTS for the particular date specified.

Example 2: More Complex Example

ADDVIRDAR REPORT(CHECKSTMTS) VERSION(*HIGHEST)
            RPTDATE(*AVAIL *CURRENT)

This command submits a job to batch that will add existing OnDemand Spool File Archive report indexes to Content Manager (previously known as VisualInfo or VI) for the OnDemand report definition named CHECKSTMTS. Spooled file index records are added to Content Manager for all available dates.

Top

Error messages

Unknown
Top