VistA Analysis » VistA Reference » RPCs » KMPD FILE SEARCH

KMPD FILE SEARCH

Search for entries in file.

Properties

Property Value
Label FILESRC
MUMPS Implementation KMPDU5
Return Type GLOBAL ARRAY

Input Parameters

Name Type Maximum Data Length Required Description
PARAM1 LITERAL 60 true File Number.
PARAM2 LITERAL 245 true Fields to return. This will be comma delimited. Example: ".01,.04,1,12" - would return fields .01, .01, 1 and 12
PARAM3 LITERAL 245 true Text to search for. Example: "DG" - would retrieve all entries beginning with DG. - if text equals "*" or "" (null) then all entries will be retrieved
PARAM4 LITERAL 245 true Name of array for temporary storage. This should be a global array, andmust be either ^TMP or ^UTILITY.


Document generated on August 31st 2022, 2:55:43 pm