ROR LOG GET LIST

TITLEVALUE
NAMEROR LOG GET LIST
DESCRIPTIONThe ROR LOG GET LIST remote procedure returns a list of logs associated
with the registry in the provided time frame.
TAGLOGLIST
ROUTINERORRP007
INPUT PARAMETERSSEQUENCE NUMBER1
INPUT PARAMETERREGIEN
DESCRIPTIONThe REGIEN parameter should contain a valid registry IEN (IEN of the
registry parameters record in the ROR REGISTRY PARAMETERS file #798.1).
The output list will contain log activities associated with the registry
defined by this parameter.
PARAMETER TYPELITERAL
REQUIREDYES
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER2
INPUT PARAMETERSTDT
DESCRIPTIONThe STDT parameter defines the start date for the search of the log
activities. By default (if $G(STDT)'>0), the search starts from the
earliest record of the ROR LOG file.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

INPUT PARAMETERSSEQUENCE NUMBER3
INPUT PARAMETERENDT
DESCRIPTIONThe ENDT parameter defines the end date for the search of the log
activities. By default (if $G(ENDT)'>0), the search continues to the last
record of the ROR LOG file.
PARAMETER TYPELITERAL
REQUIRED
MAXIMUM DATA LENGTH

RETURN VALUE TYPEGLOBAL ARRAY
RETURN PARAMETER DESCRIPTIONA negative value of the first "^"-piece of the Results[0] indicates that
an error occurred during the execution of the remote procedure. In this
case, the second piece of the Results[0] will contain number of the error
descriptors returned in the subsequent nodes of the Results array:

Results[0] Result Descriptor
^01: The last error code
^02: Number of the error descriptors

Results[i] Error Descriptor
^01: Error code
^02: Message
^03: Place of the error

Otherwise, the number of logs is returned in the Results[0] and the
subsequent nodes of the Results array contain the information extracted
from the ROR LOG file:

Results[0] Number of Logs

Results[i] Log Descriptor
^01: "L"
^02: Log IEN
^03: Activity (ext)
^04: Activity (int)
^05: Start Date/Time (ext)
^06: Contains messages (0/1)
^07: Job Number
^08: End Date/Time (ext)
^09: Number of Processed Patients
^10: Number of Patients with Errors
^11: Processing Rate
^12: Task Number (optional)

Results[...] Registry Descriptor (optional)
^01: "R"
^02: Registry IEN
^03: Registry Name

Results[i+n] 'End of Log' Marker
^01: "L"
^02: "END"
AVAILABILITYRESTRICTED
INACTIVE
CLIENT MANAGER
WORD WRAP ONTRUE
VERSION1
SUPPRESS RDV USER SETUP
APP PROXY ALLOWED