CLOSE (XFILE)


9.0D

 

The CLOSE instruction disconnects the XFILE from it's associated recordset. The instruction uses the following formats:

 

[label]

CLOSE

{xfile}[,{mode}]

 

Where:

label

Optional. A Program Execution Label.

xfile

Required. A previously defined and opened XFILE variable to be closed.

mode

Optional. One of the valid CLOSE modes as described below.

Flags Affected: NONE

Note the following:

  1. The CLOSE will cause the associated XML data to be saved to the physical XML file if it is not a memory image only file.

  2. The optional {mode} parameter may be the following:

  3.  

    Mode

    Action

    NOSAVE

    Do not save to a physical XML file.

     

 

See Also: XML Support



PL/B Language Reference XFILE Statements DELETE (XFILE)