on 04-30-2009 5:55 PM
I'm running a CLIX command for repCheck with -E1. That means the check will fail (rc > 0) if there are any Fatal or NonFatal errors. I want to check the results and do one thing if it's a fatal error and another thing if it's a nonfatal error. Is that even possible? Or does the command only provide a single return code? Is there anything that writes to the standard error device that differentiates between what is fatal and what is nonfatal?
clix repCheck MDMHostSpec RepositorySpec Credential -E1 -D
RC=$?
case $RC in
0) echo "No errors in the Repository Check RC=$RC";;
1) echo "Errors were found RC=$RC";;
*) echo "Problems running the check RC=$RC"
esac
Hi Richard
You can get information about CLIX from "Console reference Guide" pages 285 to 298(Table 82):
https://websmp206.sap-ag.de/~sapidb/011000358700006291622006E
and from: http://help.sap.com/saphelp_mdm550/helpdata/en/8e/9f9c427055c66ae10000000a155106/frameset.htm
As i mean you cannot get result which you need
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.