Override the default name of the archive files

You can override the default name of the archive files. When TAPEDEV or LTAPEDEV is a directory path, the default permanent file name consists of hostname_servernum_Ln (for levels), and hostname_servernum_Lognnnnnnnnnn (for log files). You can override the prefix part of the permanent file name, hostname_servernum, by setting the environment variable IFX_ONTAPE_FILE_PREFIX.

For example, if you set IFX_ONTAPE_FILE_PREFIX to "My_Instance", then during archive, the files are named My_Instance_L0, My_Instance_L1, My_Instance_L2, and, My_Instance_Log0000000001, My_Instance_Log0000000002, and so on. During restore, ontape searches for files in the TAPEDEV directory with file names like My_Instance_L0, and searches for files in the LTAPEDEV directory with file names like My_Instance_Log0000000001.