CL Command Reference - ADDVIRDAR

CL Command List > ADDVIRDAR Reference

Description:

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).


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.