DSIV DM GET STATUS1 (2534)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIV DM GET STATUS1
TAG STAT
ROUTINE DSIVDM
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY AGREEMENT
WORD WRAP ON TRUE
DESCRIPTION
This will retrieve the statuses of the VistA Imaging import requests on a 
per DSS application basis.  There are various input filters you can pass 
to limit what will be returned.
INPUT PARAMETER
  • DSIVDAT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   245
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Note: TX equals transaction ID (19621 .01 field value)
       APP      x   Only return TXs for this APP CODE
     
       SDT          get TXs >= this date, can be FM or external date format 
     
       EDT          get TXs <= this date, can be FM or external date format
     
       MAX          Maximum number of transactions to retrieve
     
       TRANID       TX
     
     
       OVERRIDE     This RPC is hardcoded to get as many statuses as possible 
                    meeting the input filters in one minute.  This timer
                    function can be overridden by this Boolean input param
                       I $G(OVERRIDE) then do not honor timer
     
       WHICH        flag indicating which transactions to retrieve
                    If TRANID is passed, ignore value of WHICH
                    If WHICH[A - get all TX statuses - default
                             E - get all TX in error state
                             S - get all successfully imported TX
     DSIVDAT(sub) - subscript value of DSIVDAT() is arbitrary
                             P - get all TXs still pending import
                             * - get TXs whether or not the TX was previously 
                                 retrieved. Default is get only those TXs not
                                 previously retrieved
     DSIVDAT(sub) = label^value  where
       Label   Req  Value
       ------  ---  --------------------------------------------------------- 
       DEL          Boolean - default 0 - if 1 then delete records which were 
                    successfully imported and retrieved by this call
     
    
RETURN PARAMETER DESCRIPTION
If problems or errors, return -1^error message
Else return each transaction id in a multiline format:
     List[n] := transaction id^status
   List[n+m] := any messages from the VI Background Processor
                { this may be 0,1,2,3,or more lines }
 List[n+m+1] := $END
 
Each record will consist of 2 or more lines.  The first line and the 
$END line will be in each record.