Start of Content Area

Procedure documentation Setting Up SAPDBA Working Directories  Locate the document in its SAP Library structure

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

  1. Change to the Informix directory:
  2. cd $INFORMIXDIR

  3. Create the first new directory and assign the correct access rights to it:
  4. mkdir sapreorg

    chmod 755 sapreorg

  5. Create the second new directory and assign the correct access rights to it:
  6. mkdir sapreorg/recover.rpt

    chmod 777 sapreorg/recover.rpt

  7. 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.

  1. Start the Windows NT Explorer by choosing the following:
  2. Start ® Programs ® Windows NT Explorer

  3. Choose the drive where the Informix directory is located, for example D:
  4. Choose the Informix directory, %INFORMIXDIR% in the left window of the Explorer.
  5. The Informix directory should now be highlighted in the left window of the Explorer.

  6. Create a new directory by choosing File ® New ® Folder.
  7. The new directory appears with a temporary name.

  8. Type in the name for the new directory as follows:
  9. sapreorg

  10. Choose the new directory in the left window of the Explorer.
  11. The new directory should now be highlighted in the left window of the Explorer.

  12. Create a second new directory as follows:
    1. Repeat step 4.
    2. Type in the name for the new directory as follows:

    recover.rpt

  13. If the access rights for these directories are incorrect, then change them as follows:
    1. Choose File ® Properties ® Security ® Permissions.
    2. Enter the correct permissions.

Refer to your Microsoft documentation for further details.

Note

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.