Professional Documents
Culture Documents
Overview
Archived data is stored in archive files in the file system. If an archive file is created by the write
program, then it's physical file name is derived from a logical file name. In the same way, the
physical path name is derived from a logical path name. The logical file name and the logical
path should be maintained to get an appropriate physical file name and physical path name.
Select 'Logical file path definition'. Select an already existing logical path or select 'New entries' to
enter a new logical
path.
Double-click on this line 'Assignment of Physical Paths to Logical Path' in order to select a syntax
group. You can also create a new entry for a syntax group if the one your require is not yet
available.
When you assign the physical path to the logical path name, the <FILENAME> symbol
must always be at the end of the physical path name. This symbol is replaced during runtime by
the physical file name.
Example: You have created a subdirectory called 'archiving' for archive files in the global
directory. The physical path name should be defined as follows:
If your system contains servers from various syntax groups (for example, consisting of NT and
UNIX servers), then every syntax group should be maintained. Make sure that the definitions for
the different syntax groups point to the same directory.
IMPORTANT: The extension '.ARCHIVE' should not appear at the end of the physical path
definition. File name extensions such as '.ARCHIVE' should be
specified in the definition of the physical file name only.
You can also create a new entry by selecting 'New Entries' at the top of the screen.
Double-click on the selected Logical file (in this case 'ARCHIVE_DATA_FILE'). This enables you to
enter the definition of the physical file name. Both the 'Physical file' and 'Logical path' fields need
to be maintained here.
In the 'Logical path' field you need to enter the logical path name that you have already defined
to the existing logical file name.
Define the required physical file names in the 'Physical file' field. The available parameters can be
seen by clicking the 'F1' key when the cursor is positioned in the field. The parameters chosen for
this Physical file field are analyzed and fillled at runtime.
The most commonly used parameters are the following:
<PARAM_1> = Application ID (BC, FI, HR, ...)
<PARAM_2> = One-digit alphanumerical number (0-9, A-Z)
<PARAM_3> = Name of the archiving object
Parameter <PARAM_2> is increased within an archiving run. with an existing file of the same
name would otherwise occur. This parameter should always be part of the physical file name
definition in order to avoid running out of available file names. To ensure that you have a large
amount of available names for any one archive session, the following entry is recommended in
this 'Physical file' field:
<PARAM_1><DATE><TIME>_<PARAM_2>.ARCHIVE .
Go to transaction SARA and enter the name of the archive object and click on 'Customizing'
button:
Now assign the logical file name to the archive object by entering the appropriate logical file
name in the 'Logical file name' field:
Related Content
Related Documents:
Archive Development Kit