6 27 2 C Example

LANSA Open Guide

6.27.2 C Example

BOOL fOK;

int  iSession;

char strDataType[FIELD_TYPE_LENGTH + 1];

FLDLEN  length;

int  iDecimal;

 

fOK = LceGetFieldType(iSession, "SURNAME", strDataType, &length, &iDecimal);