DSIV DM GET STATUS1

TITLEVALUE
NAMEDSIV DM GET STATUS1
DESCRIPTIONThis 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.
TAGSTAT
ROUTINEDSIVDM
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERDSIVDAT
DESCRIPTIONNote: TX equals transaction ID (19621 .01 field value)

DSIVDAT(sub) - subscript value of DSIVDAT() is arbitrary
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

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
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
PARAMETER TYPELIST
REQUIREDYES
MAXIMUM DATA LENGTH245

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONIf 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.
AVAILABILITYAGREEMENT
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED