I'm wondering how to use ExportData with "on the fly" values. I'm building a little ASCII to EBCDIC translator. The translator is in VBScript, and take ASCII input and return EBCDIC. I need a way to feed this data to the label.
Here's my little experiment:
Code: Select all
/**************************************************
what I want to do
**************************************************/
VBStart
Function Fakeit(some_str)
Fakeit=f9f8700
EndFunction
VBEnd
VBEval>Fakeit,897,vardata
ExportData>customdata,E:\Documents\BPS\CLSDOWN\ebcdic\test1.dat
customdata:
%vardata%
/**************************************************
what I'm able to do
**************************************************/
ExportData>fixeddata,E:\Documents\BPS\CLSDOWN\ebcdic\test2.dat
fixeddata:
f9f8f700
test1.dat = 68c0 c300 <== INCORRECT
test2.dat = f9f8 f700 <== CORRECT
How can I feed this data to the label?
Thanks