I'm writing a programm for DB2 on AS/400 (OS/400, SQLCI).
Many of examples for other systems are using some C libraries, like "sql.h" or "sqlenv.h". Where can i find them on AS/400?
For example, i want to display some errors, but, as i understand from samples, to display errors i need sqlaintp() function from "sql.h" library.
Where can i get it? Or, may be, there is some other way to get sql error message on AS/400 using SQLCI?