Retrieve dynamic parameter values of a job
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 15
- Joined: Fri Jul 06, 2007 4:48 pm
Retrieve dynamic parameter values of a job
Hi
I am using below command to retrieve the parameter values passed during a job run. I need to collect this information for all jobs in project across multiple servers.
dsjob -logsum <project> <jobname> | grep STARTED | tail -2 | head -1 | tr '\t' '|' | cut -d"|" -f1 | xargs dsjob -logdetail <project> <jobname> | tr '\t' ' ' | grep " = " | tr '^' ' ' >/tmp/outt
Issue is: It gets hanging if the log has too many entries like warnings/errors and does not return.
Is there any way to get the parameter values passed during a job run using dsjob commands.
Thanks
I am using below command to retrieve the parameter values passed during a job run. I need to collect this information for all jobs in project across multiple servers.
dsjob -logsum <project> <jobname> | grep STARTED | tail -2 | head -1 | tr '\t' '|' | cut -d"|" -f1 | xargs dsjob -logdetail <project> <jobname> | tr '\t' ' ' | grep " = " | tr '^' ' ' >/tmp/outt
Issue is: It gets hanging if the log has too many entries like warnings/errors and does not return.
Is there any way to get the parameter values passed during a job run using dsjob commands.
Thanks
-
- Participant
- Posts: 15
- Joined: Fri Jul 06, 2007 4:48 pm
-
- Participant
- Posts: 15
- Joined: Fri Jul 06, 2007 4:48 pm
-
- Participant
- Posts: 15
- Joined: Fri Jul 06, 2007 4:48 pm
-
- Participant
- Posts: 15
- Joined: Fri Jul 06, 2007 4:48 pm