Originally posted by: SystemAdmin
You have to do this in two separate ways for input and output.
For the input you need to use variables with a GET function. For the output you need to use the -TABLE command with a PUT function.
You can set variables up in the Database Interface Designer. So my query looks like this:
select * from #testvar#
and my card command looks like this:
-USER xxxx -PW xxxx -VAR testvar=products -T+
where products is the name of the table.
Now for you want to do you will need to put this command in a GET function and replace products with whatever value you get at runtime.
For the output you will need to use the -TABLE command. The command will look like this:
-USER xxxx -PW xxxx -TABLE products -T+
Again, you will need to retrofit this into a PUT command and replace products with whatever you get at runtime.
It is doable.
Yvonne Ricard
Resistance is NOT futile.
#DataExchange#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender