veeranagulu
18th April 2012, 12:28
Hi All,

its urgent...................

i am trying to use uni.export() function in 4GL.
i am getting empty value to target string(emno). can any one help me on this.

sample code i have written:

table ttccom001
string emno(MAX.RECORD.LENGTH/2)
string emno2(DOMAIN.RECORD.LENGTH) fixed

domain tcemno emno1
long ret

emno1 = "100000001"
select tccom001.*
from tccom001
where tccom001._index1 = {:emno1}
as set with 1 rows
selectdo
emno2 = "40000"
ret = uni.export(emno,emno2)
endselect

bdittmar
18th April 2012, 14:15
Hello,

this is the wrong forum for your question.
Maybe a moderator is able to move this thread to the right forum.

tccom001.emno is a LONG, not a string in BIV.

Regards