Hi
Can anyone tell me how can I suppress the return staus code value which we get after running the dsjob command ?
Thanks
Suppress status code of dsjob command
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Instead of directly executing dsjob use a shell script that runs the dsjob command that parses the dsjob exit code and returns whatever exit codes you want.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Thanks for the replies.
I am using shell script and I am not running the command.
I can't redirect my stdout to /dev/null as I need the output of the command. I need to execute the following command.
dsjob -report DS_PROJECT DS_JOB XML
If I redirect my stdout as following then everything will be ruoted to /dev/null which I don't want...
dsjob -report DS_PROJECT DS_JOB XML > /dev/null
I need the output in STDOUT but I also want to supress the return status code.
Please throw some idea...
Thanks
I am using shell script and I am not running the command.
I can't redirect my stdout to /dev/null as I need the output of the command. I need to execute the following command.
dsjob -report DS_PROJECT DS_JOB XML
If I redirect my stdout as following then everything will be ruoted to /dev/null which I don't want...
dsjob -report DS_PROJECT DS_JOB XML > /dev/null
I need the output in STDOUT but I also want to supress the return status code.
Please throw some idea...
Thanks
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: