Skip to Content
0
Former Member
Mar 04, 2009 at 09:55 AM

Runtime error when Transfering data from data object to a file

251 Views

Hi everybody,

I'm having a problem when I transfer data from data object to file. The codes like following :

data : full_path(128).

OPEN DATASET full_path FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

and transfer data from flat structure to this file full_path

move: tab to c_output-tab_5,

tab to c_output-tab_4,

tab to c_output-tab_3.

transfer c_output to full_path. // Error Line

The detail error like the following:

For the statement

"TRANSFER f TO ..."

only character-type data objects are supported at the argument position

"f".

In this case. the operand "f" has the non-character-type "u". The

current program is a Unicode program. In the Unicode context, the type

'X' or structures containing not only character-type components are

regarded as non-character-type.

transfer c_output to full_path. " Line error

Please help me to fix this issue !

Thank you in advance !

Edited by: Hai Nguyen on Mar 4, 2009 10:55 AM