CLOSE [ QUERY/V Reference Manual ] MPE/iX 5.0 Documentation
QUERY/V Reference Manual
CLOSE
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= command 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.
MPE/iX 5.0 Documentation