Log file on server

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Log file on server

Post 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 ..??
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post 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.
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post 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???
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post 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
miwinter
Participant
Posts: 396
Joined: Thu Jun 22, 2006 7:00 am
Location: England, UK

Post by miwinter »

First run:

. /dshome/Ascential/DataStage/DSEngine/dsenv

Then rerun your dsjob command
Mark Winter
<i>Nothing appeases a troubled mind more than <b>good</b> music</i>
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

if your DataStage installation is elsewhere,

Code: Select all

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