Updating SAP ABAP Systems on UNIX and Linux: SAP MaxDB

Customizing of Environment Profiles

This section deals with the environment profiles of user <SID>adm.

If necessary, you can customize and prepare the environment profiles of user <SID>adm for the target system already during uptime. As a result, you do not need to perform this customizing after the update procedure.

The environment profiles are stored in the following environment files:
  • .dbenv.csh
  • .dbenv.sh
  • .sapenv.csh
  • .sapenv.sh
The Software Update Manager handles these environment files during the following three phases:
  1. ENVFILES_CHECK

    This phase runs in roadmap step Checks.

    The Software Update Manager checks internally what has to be done.

  2. ENVFILES_PREP

    This phase runs in roadmap step Preprocessing.

    The file templates of the environment files are copied to subdirectory <SUM directory>/abap/sapnames/envfiles. The Software Update Manager replaces generic placeholders in the files with corresponding values. For better distinction with the template file names, the files are saved with file names in uppercase letters and without leading period as follows:

    .dbenv.csh DBENV.CSH
    .dbenv.sh DBENV.SH
    .sapenv.csh SAPENV.CSH
    .sapenv.sh SAPENV.SH

    An entry in the log file CHECKS.LOG informs you that the user environment has been prepared. You have now the option to adjust the environment files to the environment profiles of target system user <SID>adm. You can make the changes up to the start of phase ENVFILES_COPY, in which the environment files are then copied to the home directory of user <SID>adm on your target system.

    See also Important Entries for the Preprocessing Roadmap StepEnvironment Profiles Customizing (Phase ENVFILES_PREP).

  3. ENVFILES_COPY

    This phase runs in the Execution roadmap step.

    The environment files are copied to the home directory of the <SID>adm user on the target system. Here, they are saved again with their original file names as follows:

    DBENV.CSH .dbenv.csh
    DBENV.SH .dbenv.sh
    SAPENV.CSH .sapenv.csh
    SAPENV.SH .sapenv.sh

    Any changes you made to the files after the ENVFILES_PREP phase and before the ENVFILES_COPY phase are then applied to the target system.

    See also Important Entries for the Execution Roadmap StepProfile of User <SID>adm (Phase ENVFILES_COPY).