How to retrieve string variables from data structure

Post Reply
jc8150
Posts: 3
Joined: Wed Jul 15, 2015 5:23 pm

How to retrieve string variables from data structure

Post by jc8150 » Wed Jul 15, 2015 6:55 pm

I am using the following code to retrieve a string from a LANSA function:
$ds1[] = $ToolkitServiceObj->AddParameterChar('out',35,'W_NAME','W_NAME','');

At execution time, I get the 'decimal data error' message.
A string in LANSA is defined as VARCHAR in C, so it has variable length.

What toolkit method should I use to retrieve VARCHAR type fields?

Thanks

Post Reply