MAG3 LOOKUP ANY (1013)    REMOTE PROCEDURE (8994)

Name Value
NAME MAG3 LOOKUP ANY
TAG LKP
ROUTINE MAGGNLKP
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
DESCRIPTION
Lookup using FIND^DIC for general purpose file lookup.
INPUT PARAMETER
  • ZYx
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   256
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
            ; ZY is parameter sent by calling app (Delphi)
            ;    FILE NUM ^ NUM TO RETURN ^ TEXT TO MATCH ^  ^ SCREEN ($P 5-99)
    
  • MAGIN
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   200
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    MAGIN is parameter sent by calling app (Delphi)
     FILE NUM ^ NUM TO RETURN ^ TEXT TO MATCH ^ FIELDS ^ SCREEN ($P 5-99)
    
  • DATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   40
    REQUIRED:   YES
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    |TAB|; DATA : 
    |TAB|;                       Defaults to "B"
    |TAB|;  LVIEW =Piece 1 
    |TAB|;     +LVIEW = 1  :  
    |TAB|;          result array is formatted for a magListView control
    |TAB|;              i.e.  ^ delimiter for data and "|" delimiter for IEN
    |TAB|;     +LVIEW = 0  : 
    |TAB|;         old way,  "  " delim for data and '^' delim for IEN
    |TAB|;  INDX = Piece 2
    |TAB|;                       This is the index to search 
    
RETURN PARAMETER DESCRIPTION
Returns a list of matching entries.
Each list entry is NAME^IEN