| TITLE | VALUE | |
|---|---|---|
| NAME | DSIV POLL PRODUCTIVITY | |
| 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. | |
| TAG | POLL | |
| ROUTINE | DSIVICR3 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 1 |
| INPUT PARAMETER | DSIVHNDL | |
| 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. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | YES | |
| MAXIMUM DATA LENGTH | 50 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 2 |
| INPUT PARAMETER | CNT | |
| 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. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | NO | |
| MAXIMUM DATA LENGTH | 10 | |
| INPUT PARAMETERS | SEQUENCE NUMBER | 3 |
| INPUT PARAMETER | MORE | |
| 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. | |
| PARAMETER TYPE | LITERAL | |
| REQUIRED | NO | |
| MAXIMUM DATA LENGTH | 1 | |
| RETURN VALUE TYPE | GLOBAL ARRAY | |
| 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. | |
| AVAILABILITY | ||
| INACTIVE | ||
| CLIENT MANAGER | ||
| WORD WRAP ON | TRUE | |
| VERSION | ||
| SUPPRESS RDV USER SETUP | ||
| APP PROXY ALLOWED | ||