| Contents: | Main | Chapter | See Also: | Getting Started Manual | Advanced User Manual | |||
When you make a DBS call and use the default arrays in the ^TMP global for output of help, user, and error messages, the DBS call KILLs off these arrays and their related variables at the start of the call. Therefore, you know that any data that exists after the call was generated by that call.
If you do not use the default arrays for output, however, and instead specify your own arrays in which this information is returned, your arrays are not automatically KILLed at the start of a DBS call. So, if there is any chance that these arrays might already exist, you should KILL them yourself before making the DBS call.
After making a DBS call, if you used the default arrays in ^TMP for output of help, user, and error messages, you should delete these arrays before your application Quits. To do this, use the following call:
Figure 102: Database Server (DBS) API—Cleaning Up the Output Arrays: Input
>D CLEAN^DILF
REF: For details of its use, see the description of the "CLEAN^DILF: Array and Variable Cleanup" API.
If you are using your own arrays for output, however, you need to clean up your arrays yourself. You should still call CLEAN^DILF to KILL off the variables related to these arrays.
Reviewed/Updated: May 2026