Capture screen content for error parsing

view full story

http://unix.stackexchange.com – I am a database administrator working with DB2 on AIX. (Please continue to read as this is related more to ksh than DB2, otherwise I would have posted this over on dba.stackexchange.com.) I am attempting to write up ksh scripts for several of our database deployment as well as database maintenance scripts. I am in the process of putting error handling in our scripts to know whether or not something requires a hard fail or just a warning message, or can be ignored. With most AIX/ksh related tasks I can check $? = 0, but not so with DB2. Unless the database engine fails, I will never get anyth (HowTos)