Generate DataStage Log from UNIX command

​To Generate DataStage Log File from UNIX, you can use dsjob syntax.

dsjob syntax:
dsjob -logdetail
              {Server_Name}
              {Job_Name}
               `dsjob -logsum -type {Type} -max 2 {Server_Name} {Job_Name}|cut -f1` > {Destination File}.txt

Notes:
{Type} = [ <INFO | WARNING | FATAL | REJECT | STARTED | RESET | BATCH>] ​



Popular posts from this blog

cognos content store database tables

How to fix: User, group, or role '*' already exists in the current database. (Microsoft SQL Server, Error: 15023)