ROR LOG GET LIST (1769)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR LOG GET LIST
TAG LOGLIST
ROUTINE RORRP007
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The ROR LOG GET LIST remote procedure returns a list of logs associated 
with the registry in the provided time frame.
INPUT PARAMETER
  • REGIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The 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.
    
  • STDT
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    The 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.
    
  • ENDT
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    The 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.
    
RETURN PARAMETER DESCRIPTION
A negative value of the first "^"-piece of the Results[0] indicates that
  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
an error occurred during the execution of the remote procedure. In this
 
  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)
case, the second piece of the Results[0] will contain number of the error
                          ^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
 
descriptors returned in the subsequent nodes of the Results array:
  Results[i+n]          'End of Log' Marker
                          ^01: "L"
                          ^02: "END"
  
  Results[0]            Result Descriptor
                          ^01: The last error code
                          ^02: Number of the error descriptors