On the DP4 System menu, select the Run program option
Type this command to shut down the database:
SHUTDOWN
Press <Enter>. The DP4 Shutdown menu is displayed:
For further information on the options click on the appropriate area of the illustration above.
Select the Shutdown option. If you select options 1 or 2, DP4 prompts you for the name of the database to shut down.
In the Windows versions of DP4 there is no real need to use the SHUTDOWN program. At the time the DP4 system is shutdown, (by stopping the DP4 service for example), all open databases are closed properly. You can use SHUTDOWN -stop as an equivalent of srvw32 -stop or srvw32 -unload. It is bad practice to use SHUTDOWN anywhere in the [preload] or [startup] sections of datafit.ini.
On Unix and Linux (and all other non Windows versions of DP4) databases are not closed when srv3 is stopped (for example with the Unix kill) command. Therefore you should use SHUTDOWN -NOWAIT -DB dbname to ensure the database is closed cleanly before unloading srv3.
If you are using SHUTDOWN to force network clients to log off from the database you should first unload the network manager program. Otherwise running SHUTDOWN may be ineffective as new programs might immediately restart. Once the network manager has been unloaded the database should automatically be closed in any case, but you may wish to run SHUTDOWN in any case - for example in case a locally running application has crashed, leaving an open database connection behind it.