DSIC FM FIND (1647)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIC FM FIND
TAG FIND
ROUTINE DSICFM05
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY AGREEMENT
WORD WRAP ON TRUE
DESCRIPTION
This provides a wrapper around the FIND^DIC API.  It exposes more of the 
functionality of the API to the RPC than the old DSIC DDR FINDER RPC.
 
For a lookup value, this RPC will return all matches.  It allows for 
input a multiple screening logic which would be ANDed together.
INPUT PARAMETER
  • INPUT
    PARAMETER TYPE:   LIST
    MAXIMUM DATA LENGTH:   250
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    he INPUT(n) = tag^value   where 
      tag = LIST^DIC input parameter name such as
            FILE  IENS  FIELDS  FLAGS  NUMBER  INDEX  VAL  SCREEN
      value = value for that input parameter
     
    For those input parameters that allow an array, you can pass that array 
    in the tag such as SCREEN()^lookup value
    
RETURN PARAMETER DESCRIPTION
if problems return one or more rows:
   etc., etc., ....
   List[0] = - 1^message
   List[n] = message  or  -1^message   for n=1,2,3,4,...
 
Return entries found that match the input value:
   List[n] = results    where n=0,1,2,3,4,...
   1st ^-piece of results is the ien for the record from that file
   2nd ^-piece equals the value of the field in the 1st ;-piece of FIELDS
   3rd ^-piece equals the value of the field int he 2nd ;-piece of FIELDS