SDECIDX GETREC (3598)    REMOTE PROCEDURE (8994)

Name Value
NAME SDECIDX GETREC
TAG GETREC
ROUTINE SDECIDX
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
This RPC returns content from the ^XTMP("SDEC","IDX" global and serves as 
the default start up list.  The records are sorted by:
Priority Group
  SVC %
    Desired Date
      Origination Date
INPUT PARAMETER
  • LASTREC
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Holds the "KEY" of the last returned record and indicates where to start 
    with the next bolus of records.
    
  • MAXREC
    PARAMETER TYPE:   LITERAL
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Indicates the number of records to return. Defaults to 25.
    
  • STYLE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Available values are "R" and "D". Indicates format of return data.
    
RETURN PARAMETER DESCRIPTION
Style "D" returns two nodes the first containing the Header format and 
the second the data.
 
Style "R" returns a Header node and then one or mode nodes containing the 
type of record, the record IEN and the record key.