| 4377 | // Note that not all COBOLs have the concept of a function. |
| 4378 | |
| 4379 | static void set_sqlcode( const act* action) |
| 4380 | { |
| 4381 | TEXT buffer[128]; |
| 4382 | |
| 4383 | if (action && action->act_flags & ACT_sql) |
| 4384 | { |
| 4385 | strcpy(buffer, SQLCODE_CALL_TEMPLATE); |
| 4386 | printa(names[COLUMN], true, buffer, ISC_SQLCODE_CALL, names[isc_status_vector_pos]); |
| 4387 | } |
| 4388 | } |
| 4389 | |
| 4390 | |
| 4391 | //____________________________________________________________ |
no test coverage detected