ROR LIST LOCAL FIELDS (2110)    REMOTE PROCEDURE (8994)

Name Value
NAME ROR LIST LOCAL FIELDS
TAG LFLIST
ROUTINE RORRP040
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
DESCRIPTION
The ROR LIST LOCAL FIELDS remote procedure returns a list of
registry-specific field definitions from the ROR LOCAL FIELD file
(#799.53).
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).
    
  • FLAGS
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Flags that control the execution (can be combined):
     
      I  Include inactive field definitions
    
  • LOCK
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Lock the local fields before loading the data and leave them locked.
    
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, number of local fields is returned in the Results[0] and the
subsequent nodes of the array contain the field definitions.
                                                                  
If the local fields cannot be locked then the second "^"-piece of the
Results[0] will be greater than 0 and the node will contain the lock
an error occurred during the execution of the remote procedure. In this
descriptor.                              
 
  Results[0]            Result Descriptor
                          ^01: Number of local fields
                          [Lock Descriptor]
                          ^02: Date/Time
                          ^03: User/Process name
                          ^04: User IEN (DUZ)
                          ^05: $JOB
                          ^06: Task number
case, the second piece of the Results[0] will contain number of the error
 
  Results[i]            Field Definition
                          ^01: IEN
                          ^02: Name
                          ^03: Date of Inactivation
                          ^04: Description
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