DSIV POLL PRODUCTIVITY (3056)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIV POLL PRODUCTIVITY
TAG POLL
ROUTINE DSIVICR3
RETURN VALUE TYPE GLOBAL ARRAY
WORD WRAP ON TRUE
DESCRIPTION
Used to check the status of the background job kicked off by the DSIV 
PRODUCTIVITY REPORT rpc and to return results from that report.
INPUT PARAMETER
  • DSIVHNDL
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   50
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Contains the Handle returned by the kick-off rpc (or sent by the GUI) to 
    uniquely identify a report instance running in the background.
    
  • CNT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The number of records to return for each call of the rpc.  This is used 
    to avoid broker timeouts for reports with a lot of data.
    
  • MORE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    MORE=1 when subsequent calls are made to the rpc to return the next 
    "CNT" (count) of rows of report data.  The GUI may send MORE=9 to 
    terminate the report and have the M code kill the ^XTMP global as it is 
    no longer needed.
    
RETURN PARAMETER DESCRIPTION
Returns -1^error, or 0^Results not ready, or
  Ret(1) = $START$report start date^report end date (reqst'd by user)
  Ret(n) = ReportTypeSort^totalentries^totalnoins^totalexceptions
  Ret(~) = $END$QUEUED dttm^rpt START RUN dttm^rpt END RUN dttm
 
ReportTypeSort will be Clinic for "C"linic report, User for "U"ser 
report, Clinic|User for "B"oth report and User|Clinic for "UC" report.