20.1.11

SAP Note 18307 - Batch input logs and reorganization

Symptom:

Batch input logs.

Cause and prerequisites

Batch input: Log reorganization.

Solution

You call report RSBDCREO (or schedule it in the background) and reorganize your logs.
What does 'Reorganization' mean?

The report has the following functions:

    1. It deletes processed sessions (that is, sessions that have been processed successfully) and their logs from the system.
    Only these sessions are deleted, but no 'Sessions still to be processed' or 'Defective sessions' and so on.
    2. It deletes logs without sessions.
    3. It reorganizes the log file (the file size is reduced if logs have been deleted).

Technical information for log reorganization:

  • The logs are in the GLOBAL directory of the SAP System path:
    /usr/sap/C11/SYS/global "Where C11 is the system name
    Name of the log file 'BI' e.g. BIserver00
  • The logs are reorganized
    until Release 22D in the GLOBAL directory
    as of Release 22E in /tmp (DIR_TMP)
    Application Server Directory
    as of Release 30D on DIR_DATA
    Application Server Directory

    Important:
    In the directory (GLOBAL or DIR_TMP or DIR_DATA), there must be space available at the time of the reorganization. An approximate value is the size of the log file.


    Example:
    Log file BIserver00 with a size of 125 MB.
    An additional 125 MB are needed to reorganize this file.

    For a better understanding, the following section describes how the reorganization is carried out from a technical viewpoint.
    4. The log file is copied into the reorganization directory (bdc/altlogfile). A semaphore locks the file.
    5. The reorganization file is shrunk to it true size.
    6. The reorganization file is copied back to the log file

    You can change the directory in which the reorganization takes place by using the profile parameter 'bdc/altlogfile'.
    If you have problems with your /temp directory, change the profile parameter.
    Example:
    Profile parameter
    old: bdc/altlogfile is not defined, DEFAULT taken
    new: bdc/altlogfile = $(DIR_DATA)/$(FN_BDCALTLOG)
    meanings:
    bdc/altlogfile = Profile parameter description
    $(DIR_DATA) = /usr/sap/C11/SYS/data Directory
    / = Separator for UNIX operating system
    \ = Separator for Windows NT
    BLANK = Separator for DEC/VMS
    . = Separator for HP/MPE
    $(FN_BDCALTLOG) = Name of the reorganization file, do not change.
Plan your reorganization runs well in advance. Smaller files are processed more quickly.

Note: Release 2.1A - 3.0C
Report RSBDCREO must always run alone: that means, you must not run a batch input in parallel. Refer to Note 34427.

Additional key words

APQD APQI

No comments:

Post a Comment