03-25-2015 2:33 PM
Hi All,
I'm trying to execute pgp command from SM49. It ended with exit code 32.
I can't seem to find the documentation for this exit code anywhere. Can anyone help?
I've checked the F'n Module: SXPG_COMMAND_EXECUTE but it's not there.
Any help is appreciated.
Thanks & Regards,
Uday
03-30-2015 1:25 PM
Hi Uday,
the exit code comes directly from the called external program.
When I call command WWI_GET_DIR which is UNIX "ls-l" command in our system with parameter "/home", I get a result list and exit code is "0". If I pass parameter "/ohme" exit code from "ls - l" is "2".
Regards,
Klaus
03-30-2015 1:25 PM
Hi Uday,
the exit code comes directly from the called external program.
When I call command WWI_GET_DIR which is UNIX "ls-l" command in our system with parameter "/home", I get a result list and exit code is "0". If I pass parameter "/ohme" exit code from "ls - l" is "2".
Regards,
Klaus
03-31-2015 11:25 AM
Thank you Klaus.
I understand that. Like exit code 0 is for success, 2 is for incorrect parameter, what is 32 for? Any idea?
03-31-2015 11:36 AM
Hi Uday,
exit codes 0 and 2 are from my sample calling unix command ls -l and 2 might be something like "path not found".
I don't know the exact command you use. Maybe an OS command guide will explain the exit codes ...
Regards,
Klaus
04-02-2015 7:53 AM
Interestingly the command is to execute a shell script. Apparently there was an issue with the file. I deleted the file, created a new script, gave 777 and then it worked.
Thanks Klaus for your replies and help.
Regards,
Uday