Hai friends,
I have couple of doubts on korn shell..
1. what is the meaning of $? in ksh.
For example
In ksh I wrote a script to replace a temporary sql table (say sbc_temp) in to a permenant table (abc_perm). For that I have given the code as below
replaceTable abc_perm abc_temp
unixReturnCheck $?
In the above statement what is the purpose of using $?
2. when I read some document on ksh I have come across "exit 16" at the end of if statement. what this exit 16 indicates? Is there any other code are there in ksh like exit 16?
Thanks and rgds,
Prasad Rao.
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.com