pzmohanty Beginner

Joined: 20 May 2004 Posts: 97 Topics: 43 Location: hyderabad, India
|
Posted: Mon Oct 04, 2004 11:16 pm Post subject: how to use SQLSTATE in COBOL code |
|
|
hi all,
to check the status of previosly executed sql statement we use SQLCODE in our COBOL code & check whether SQLCODE is equal to zero , greater than zero or less than zero & accordingly interpret the status of previously executed SQL statement.
In the same vien how should we use SQLSTATE in our COBOL program .
a sample COBOL code using SQLSTATE will be of immense help.
Thanx in advance |
|