DSIV POLL REPORT

TITLEVALUE
NAMEDSIV POLL REPORT
DESCRIPTIONUsed to check the status of the background job kicked off by the DSIV
EXCEPTION REPORT2 rpc, and to get the report data.
TAGPOLL
ROUTINEDSIVICR1
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDSIVHNDL
DESCRIPTIONContains the Handle returned by the kick-off rpc call DSIV EXCEPTION
REPORT2. This is the ^XTMP global node where the report status and data
reside.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH50

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERCNT
DESCRIPTIONContains the count (#) of records to return for each call to the rpc.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH10

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERMORE
DESCRIPTIONContains a flag (MORE=1) when there were more records than parameter 2
(CNT) to supress the header for the subsequent calls to get data.
The first call to the rpc should NOT include the MORE=1 parameter. Send
MORE=9 to kill the report data in ^XTMP global if the user no longer
wants to get it.
PARAMETER TYPELITERAL
REQUIREDNO
MAXIMUM DATA LENGTH1

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONReturns -1^error, or 0^Results not ready^*percent complete*,
or Ret(1) = $START$report start date^report end date (reqst'd by user)
Ret(n) = Clinic^Appt Date/time^Patient
Ret(~) = $END$QUEUED dttm^rpt START RUN dttm^rpt END RUN dttm
AVAILABILITY
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED