Hi, my name is German.
Im working with an aix over one year and i have developed a PRO*C multithread process that reads commands from a table and execute it in parallel (one command by thread) with a system function call, so depending the process exit code (system return value) , I put a mark (OK or ERROR) in that table.
My problem: there is ONE process that terminate ok and the system function returns an exit code different from 0 and consequently I put a mark erroneous.
Then I thought , system function is not threadsafe (problem with signals) and im not got a consistent return value ? OR, I saw that this process is a ksh script and not have the "exit 0" sentence if everything go fine, so maybe ksh (or sh -c) not return a default zero value when the script finishes its execution at the end of the file
Sorry my english, I really hope you can help me.
Thanks a lot in advanced.
German.