When you issue ON–Bar commands from the command line, the arguments are passed to the onbar script and then to onbar_d. Use the onbar shell script on UNIX or the onbar batch file on Windows to customize backup and restore commands, start ISM, and back up the ISM catalog. The onbar script is located in the $INFORMIXDIR/bin directory on UNIX and in the %INFORMIXDIR%\bin directory on Windows.
The default onbar script assumes that the currently installed storage manager is ISM and backs up the ISM catalogs. If you are using a different storage manager, edit the onbar script, delete the ISM-specific lines, and optionally, add storage-manager commands.
For background information on the onbar script or batch file, see ON-Bar Utilities and Updating the onbar Script.
The default onbar script contains the following sections:
Use this section to initialize the storage manager, if necessary, and set environment variables.
This section starts the onbar_d driver and checks the return code. Use this section for onbar_d and storage-manager commands.
The code in this section backs up the ISM catalogs to the ISMData volume pool after the backup operation is complete. If you are using a third-party storage manager, delete the ISM-specific information.
If you use a name other than ISMData for the volume pool, change it to the name specified in the ISM_DATA_POOL configuration parameter.
The archecker temporary files are also removed.
Use this section to return onbar_d error codes.