Gen UNIX/Linux Block Mode applications and created bs_xxxxxxxx files
search cancel

Gen UNIX/Linux Block Mode applications and created bs_xxxxxxxx files

book

Article ID: 25849

calendar_today

Updated On:

Products

Gen

Issue/Introduction

Gen UNIX and Linux Gen Block Mode applications create many bs_xxxxxxxx files in the $PTHOME/<userid> directory. What are these files and can they be deleted?

Environment

Gen UNIX/Linux Block Mode applications.

Resolution

The bs_xxxxxxxx files are profile table files for the Gen Block Mode application that is currently running or has completed.
The bs_xxxxxxxx equates to: bs_<id of the owning business system of the proc step>.

The files are needed while the application is running.
If the application is defined as Restartable and that feature is being used then they should not always be deleted after the application completes (for "Restartable" please see Using the Toolset > Environment).

By default the files are placed in directory $PTHOME/<unix_linux_user_id>.
However the location can be managed by setting the environment variable AEUSER prior to running the application.
The files will then be placed in directory $PTHOME/$AEUSER.
That is a feature that can be used to manage multiple executions of the application under the same logon id i.e. a unique value can be set for AEUSER for each logon session so that the profile files are created in separate directories and do not impact each other.
For further details please see: UNIX and Linux Implementation Toolset > Prerequisite Implementation Tasks