int KISAMGetColumn(KHAND handle, char *lpName, InfoCol *pIb)
| Parameter | Type | Purpose |
| handle | KHAND | handle of table |
| lpName | char * | name of column taken from the data dictionary |
| plb | InfoCol * | address of structure to receive properties of the column. |
Gets information about a named column in the table open on the handle. The column information is returned in the structure whose address is passed in pIb.
The properties available are:
| Property | Type | Purpose |
| col | int | Column index counted from one |
| offset | int | Offset into record buffer counted from zero. |
| len | int | Column length in buffer |
| occurs | int | Number of occurrences. Zero if not an array. |
| Type | int | data type code, 'C', 'J', 'P' or 'B' |
| scale | int | number of digits after the decimal for numeric types |
| precision | int | number of digits in total for numeric types |
| nosign | int | 1 of unsigned, 0 otherwise |
| name | char(9) | null terminated column name |