log files

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

AmeyJoshi14
Participant
Posts: 334
Joined: Fri Dec 01, 2006 5:17 am
Location: Texas

Re: log files

Post by AmeyJoshi14 »

veera24 wrote:
AmeyJoshi14 wrote:
bikan wrote:Can sumbody tell me column defination of RT_LOGnnn file. ( I searched on forum but could not get it)

I want to dump log file for each job into delimiter file.


Also by Dsjob command can I copy complete log into file I have tried
c:\Ascential\DataStage\Engine\bin\dsjob -logdetail #$DS_PROJ_NAME# <Job Name> > #$DS_LOG_FILE_DIR#\LFM_Load_Cust_Vech_Dtl_CapRej.txt
but it's not working.
when I try
:\Ascential\DataStage\Engine\bin\dsjob -logaum #$DS_PROJ_NAME# <Job Name> > #$DS_LOG_FILE_DIR#\LFM_Load_Cust_Vech_Dtl_CapRej.txt
there warning msg are getting trucated.
Yes,from DSjob Command you can copy complete log into file.

$path/dsjob -logsum -type INFO -max 30 PRJCT_NAME JOB_NMAE > /path/log.txt

Now if you want only Warning , instead of INFO use warning...

For detail logs use -logdetails.
hi amey
please excuse me.. since am new to datastage i couldn understand ur point so could you pls. explain in detail so that it will be helpful for me.. hope you will..
Your time ll b highly appreciated...
thanks in adv...
veera...
Hi ,
Can you please tell me what detail exactly you want so that i can give you the same. :)
http://findingjobsindatastage.blogspot.com/
Theory is when you know all and nothing works. Practice is when all works and nobody knows why. In this case we have put together theory and practice: nothing works. and nobody knows why! (Albert Einstein)
veera24
Premium Member
Premium Member
Posts: 150
Joined: Thu Feb 07, 2008 9:37 pm
Location: NewYork

Re: log files

Post by veera24 »

AmeyJoshi14 wrote:
bikan wrote:Can sumbody tell me column defination of RT_LOGnnn file. ( I searched on forum but could not get it)

I want to dump log file for each job into delimiter file.


Also by Dsjob command can I copy complete log into file I have tried
c:\Ascential\DataStage\Engine\bin\dsjob -logdetail #$DS_PROJ_NAME# <Job Name> > #$DS_LOG_FILE_DIR#\LFM_Load_Cust_Vech_Dtl_CapRej.txt
but it's not working.
when I try
:\Ascential\DataStage\Engine\bin\dsjob -logaum #$DS_PROJ_NAME# <Job Name> > #$DS_LOG_FILE_DIR#\LFM_Load_Cust_Vech_Dtl_CapRej.txt
there warning msg are getting trucated.
Yes,from DSjob Command you can copy complete log into file.

$path/dsjob -logsum -type INFO -max 30 PRJCT_NAME JOB_NMAE > /path/log.txt

Now if you want only Warning , instead of INFO use warning...

For detail logs use -logdetails.
Could you pls. explain what you are trying to say for dsjob?
Post Reply