VA FileMan V. 22.2 Programmer Manual Banner


 

Main Chapter Getting Started Manual Advanced User Manual

Database Server (DBS) API


DA^DILF(): Convert IENS to DA() Array Structure 

Reference Type Category ICR #
Supported Database Server (DBS) 2054
Description

The DA^DILF API converts an IENS into an array with the structure of a DA() array.

Format
DA^DILF(iens,.da)
Input Parameters
iens

(Required) A string with record and subrecord numbers in IENS format.

.da

(Required) The name of the array that receives the record numbers.

NOTE: This array is cleaned out (KILLed) before the record numbers are loaded.

Output

An array with the record numbers from the IENS; the array is structured like the traditional VA FileMan DA() array.

Example

Figure 183: DA^DILF API—Example: Input and Output

    >S IENS="4,1,2,532," <Enter>

    >D DA^DILF(IENS,.MYDA) <Enter>

    >ZW MYDA <Enter>
    MYDA=4
    MYDA(1)=1
    MYDA(2)=2
    MYDA(3)=532
Error Codes Returned

None.

 


Reviewed/Updated: May 2026