VA FileMan V. 22.0 Programmer Manual Banner


 

Main Chapter Getting Started Manual Advanced User Manual

Database Server (DBS) API


$$IENS^DILF( ): IENS Creator

This extrinsic function returns the IENS when passed an array in the traditional DA() structure.

Format
$$IENS^DILF(.DA)
Input Parameters
.DA

(Required) An array with the structure of the traditional VA FileMan DA() array-that is, DA=lowest subfile record number, DA(1)=next highest subfile record number, etc.

Output

A string of record numbers in the IENS format-that is, "DA,DA(1),...DA(n),".

NOTE: The string always ends with a comma (,). If the array passed by reference is empty, a 0 is returned.

Example
    >S NMSPDA=4,NMSPDA(1)=1,NMSPDA(2)=2,NMSPDA(3)=532
    
    >W $$IENS^DILF(.NMSPDA)
    4,1,2,532,

Error Codes Returned

None

 


Reviewed/Updated: March 10, 2007