ROR LOG GET MESSAGES (1770)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR LOG GET MESSAGES
TAG MSGLIST
ROUTINE RORRP007
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
VERSION 1
DESCRIPTION
The ROR LOG GET MESSAGES remote procedure returns a list of messages from
the log defined by the parameter.
INPUT PARAMETER
  • LOGIEN
    PARAMETER TYPE:   LITERAL
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    The LOGIEN parameter defines the log. It should contain a valid IEN of the
    log record in 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 messages is returned in the Results[0] and the
subsequent nodes of the Results array contain the messages:
 
  Results[0]            Number of Messages
 
an error occurred during the execution of the remote procedure. In this
  Results[i]            Message Descriptor
                          ^01: "M"
                          ^02: Message IENS
                          ^03: Type (external)
                          ^04: Type (internal)
                          ^05: Date/Time (external)
                          ^06: Has Additional Info (0/1)
                          ^07: Patient Name
                          ^08: Patient IEN (DFN)
 
case, the second piece of the Results[0] will contain number of the error
  Results[i+1]          Message
                          ^01: "T"
                          ^02: Message Text
 
  Results[...]          Line of the ADDITIONAL INFO Text
                          ^01: "A"
                          ^02: Text
                          
  Results[i+n]          'End of Message' Marker
                          ^01: "M"
descriptors returned in the subsequent nodes of the Results array:
                          ^02: "END"
   
  Results[0]            Result Descriptor
                          ^01: The last error code
                          ^02: Number of the error descriptors