FILE^DIE: Filer Close window button

The Filer puts validated data that is in internal FileMan format into the database; or validates data that is in external (user-provided) format, converts it into FileMan internal format, and files valid data into the database.

The following is a breakdown of parameters passed to the Filer in the call:

>D FILE^DIE("E","ZZFDA","ZZMSG")
1. "E" This is the flag parameter. "E" indicates that the FDA contains the external form of the data. The Filer validates the value and converts it to internal form before it files it in the database.
2. "ZZFDA" This is the fda_root parameter and equals the root of the FDA that contains the data to file.
3. "ZZMSG" This is the msg_root parameter and equals the root of the array in which the Filer returns error messages.