Setting Up SAPDBA Working Directories
The installation procedure normally sets up the required working directories for SAPDBA. If for any reason the directories are not present, use this procedure to create them.
Procedure
You set up SAPDBA working directories differently according to your operating system, UNIX or NT.
UNIX
Change to the Informix directory:
cd $INFORMIXDIR
Create the first new directory and assign the correct access rights to it:
mkdir sapreorg
chmod 755 sapreorg
Create the second new directory and assign the correct access rights to it:
mkdir sapreorg/recover.rpt
chmod 777 sapreorg/recover.rpt
Assign the correct ownership to these directories (this step is only necessary if you are performing these instructions when not logged on as user
informix
):
chgrp -R informix sapreorg
chown -R informix sapreorg
NT
The instructions below are for the Microsoft Windows NT 4.0 operating system.
- Start the Windows NT Explorer by choosing the following:
Start
®
Programs
®
Windows NT ExplorerChoose the drive where the Informix directory is located, for example
D:
Choose the Informix directory,
%INFORMIXDIR%
in the left window of the Explorer.
The Informix directory should now be highlighted in the left window of the Explorer.
Create a new directory by choosing File
®
New
®
Folder.
The new directory appears with a temporary name.
Type in the name for the new directory as follows:
sapreorg
Choose the new directory in the left window of the Explorer.
The new directory should now be highlighted in the left window of the Explorer.
Create a second new directory as follows:
- Repeat step 4.
- Type in the name for the new directory as follows:
recover.rpt
If the access rights for these directories are incorrect, then change them as follows:
- Choose File
®
Properties
®
Security
®
Permissions.
Enter the correct permissions.
Refer to your Microsoft documentation for further details.

In the directory
$INFORMIXDIR/sapreorg
for UNIX or
%INFORMIXDIR%/sapreorg
for NT, additional sub-directories are created as required (that is, when you reorganize dbspaces, tables, and indexes). You should periodically delete these sub-directories and their contents when you are sure that you no longer need them. Refer to
SAPDBA Housekeeping.