HPlogo QUERY/iX Reference Manual > Chapter 3 QUERY/iX COMMANDS

CLOSE

MPE documents

Complete PDF
Table of Contents

E0300 Edition 7 ♥
E1098 Edition 6

Closes a data base opened with the MULTIDB command.

Syntax



  CL[OSE] data base name

For example:

  >CLOSE ORDERS

Parameter


data base name

is the name of a data base opened with the MULTIDB command.

Discussion


The CLOSE command allows you to close a data base opened with the MULTIDB command, without exiting from QUERY. The data base that was opened with DEFINE or DATA-BASE= commands is unaffected and remains open until the end of your job or session.

You may want to close a data base opened with a MULTIDB command for the following reasons:
  1. You have reached the limit of 10 open data bases that QUERY allows.

  2. You want to re-open your data base with the DEFINE or DATA-BASE= command so that it will be the primary data base.

  3. You have exclusive access and/or have finished using the data base and want to allow access to other users.

A data base closed with the CLOSE command will not be listed with subsequent MULTIDB commands. Data items in a closed data base can no longer be accessed. Any data bases not closed with the CLOSE command are automatically closed by QUERY at the end of the job or session.




ASSIGN


COMMENT