9 60 DOM_CLOSE_FILE

LANSA Technical

9.60 DOM_CLOSE_FILE

Þ Note: Built-In Function Rules.

Closes a previously opened Domino/Notes File on a local or remote Domino server. If the file resides on a remote server, the session to the server is also closed.

You  must use the DOM_CLOSE_FILE Built-In Function before exiting your application once the file has been previously opened.

For use with

LANSA for i

YES

Visual LANSA for Windows

YES

Visual LANSA for Linux

NO

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

File handle

4

4

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = File successfully closed.

ER = File not closed.

2

2

 

 

 

 

Examples

Refer to these Domino Built-In Function Examples:

Example 1: Creating a New Document in a Database

Example 2: Selecting documents from a Database using a view

Example 3: Executing an Agent in a Database

Example 4: Updating Documents selected from a Browselist

Technical Notes

This Built-In Function uses the standard Lotus Notes API NSFDbClose. All security and integrity issues related to the use of this Built-In Function are according to normal Lotus Notes API use for the current platform.