How do you delete and then recreate a DataStage job log manually?

ログの修復、ジョブのパフォーマンス低下の対応:
Each DataStage job has its own log file named RT_LOGnnn where nnn is the job number. These log files share a dictionary named D_RT_LOG.
# nnn canbe found by below.
cd ../Projects/<project_name>
grep <job_name> `find . -name OshScript.osh`
Jobname is written at 1st line of OshScript.osh.
例:
  1. # OSH / orchestrate script for Job RO_NSIT_Example compiled at 13:05:49 18 DEC 2016

To delete and then recreate the log file:

cd $DSHOME
. ./dsenv
bin/uvsh
LOGTO <project_name> * <project_name> is case sensitive
DELETE.FILE DATA RT_LOGnnn
CREATE.FILE DATA RT_LOGnnn DYNAMIC

These commands would leave the dictionary file in place.

If needed recover by copying the file D_RT_LOG from the template project:
cp /IBM/InformationServer/Server/Template/D_RT_LOG <projectdir>/D_RT_LOG 

コメント

人気の投稿