Page 1 of 1

Log file on server

Posted: Wed Jun 17, 2009 4:58 am
by prasson_ibm
Hi,
Can we see the datastage log files on the server,which files are created for log and how it is deleted on server ..??

Posted: Wed Jun 17, 2009 5:04 am
by ArndW
You cannot view the log files directly. You can use the "dsjob" command with options such as "-logdetail" or "-logsum" to extract log information. Logs are purged manually or by using autopurge settings as set in the director.

Posted: Wed Jun 17, 2009 5:29 am
by prasson_ibm
ArndW wrote:You cannot view the log files directly. You can use the "dsjob" command with options such as "-logdetail" or "-logsum" to extract log information. Logs are purged manually or by using autopurge settin ...

Thanks a lot for your quick reply. Can i save this log into flat files???

Posted: Wed Jun 17, 2009 5:37 am
by prasson_ibm
ArndW wrote:You cannot view the log files directly. You can use the "dsjob" command with options such as "-logdetail" or "-logsum" to extract log information. Logs are purged manually or by using autopurge settin ...
When i am running this coomand on AIX box, i am getting following error message:-

/dshome/Ascential/DataStage/DSEngine/bin/dsjob -logsum MIS JOB01_NEW_ORDER_DETAIL
Could not load program /dshome/Ascential/DataStage/DSEngine/bin/dsjob:
Dependent module libvmdsapi.so could not be loaded.
Could not load module libvmdsapi.so.
System error: No such file or directory

Posted: Wed Jun 17, 2009 5:51 am
by miwinter
First run:

. /dshome/Ascential/DataStage/DSEngine/dsenv

Then rerun your dsjob command

Posted: Wed Jun 17, 2009 8:26 am
by ArndW
if your DataStage installation is elsewhere,

Code: Select all

. `cat /.dshome`/dsenv
should do the trick as well.