Hi,
i want to know the complete log report of a job,
if the log cleared by user in datastage director, is it possible to see the log report using this command.
dsjob -lognewest,
when i am trying to run it in unix the following error
Invalid arguments: dsjob -lognewest [-useid] <project> <job|jobid> [<event type>]
event type = INFO | WARNING | FATAL | REJECT | STARTED | RESET | BATCH
please help me .
Thanks in advance.
dsjob -lognewest error
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You must specify at least a project name (since dsjob is not attached to any particular project) and a job name (for which you want the newest log entry).
If you're connecting to a different host, then you also need the authentication information.
If the log has been cleared by a user in Director there will still be an entry in the log, reporting that it has been cleared.
Code: Select all
dsjob -lognewest projectname jobname
If you're connecting to a different host, then you also need the authentication information.
If the log has been cleared by a user in Director there will still be an entry in the log, reporting that it has been cleared.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 76
- Joined: Wed Jan 25, 2006 6:42 pm
dsjob log report
Hi ray,
i tried with this dsjob -lognewest projectname jobname it is giving a message newest id = 50, statuscode = 0.
please help me how to use these dsjob commands, i searched in forums
But i am not able to find.
i tried with this dsjob -lognewest projectname jobname it is giving a message newest id = 50, statuscode = 0.
please help me how to use these dsjob commands, i searched in forums
But i am not able to find.
ETL
Re: dsjob log report
Try actually using the name of your project and the name of your job in the command; i.e. "dsjob -lognewest MyProject MyJob"vardhan354 wrote:i tried with this dsjob -lognewest projectname jobname it is giving a message newest id = 50, statuscode = 0.
-
- Participant
- Posts: 76
- Joined: Wed Jan 25, 2006 6:42 pm
Re: dsjob log report
Try actually using the name of your project and the name o ...[/quote]
Hi Andrw,
i tried with myproject and myjob only, i mean
myproject = datastage project name
myjob = datastage jobname in that project
Thanks
Hi Andrw,
i tried with myproject and myjob only, i mean
myproject = datastage project name
myjob = datastage jobname in that project
Thanks
ETL
Re: dsjob log report
That's what it is supposed to return.vardhan354 wrote:i tried with this dsjob -lognewest projectname jobname it is giving a message newest id = 50, statuscode = 0.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers