Originally posted by: repanzer1
Wow jvanboga, I was writing a response to this at the same time you must have. It's nice to break the daily tasks and come and help people out, huh?
Jaango, like so many other aspects of WTX, it's been a while since I messed with any of this type of stuff, so I can only throw out random info and maybe it will help you out.
What version of WTX are you on and what operating system is your deployment server/server the map will run on?
Normally you don't have to convert anything as long as the type tree is set up correctly. So you can take a decimal value from a field defined as decimal, drag and drop it into a field in your output card that is defined as Numberic>binary and presentation equal to "Packed', and that should be what you get in your output. When you import a copybook into WTX with a COMP-3 field, that is how it will be defined. So what I would suggest is to have a simple map with just an output card with a field that is numeric, binary, packed, and put "-1" in it and view the output. Then use the pack function and see what you get until you figure out the set up you are looking for. Finally, have an input field defined as the input in your xml and the output as defined in the copybook and mess around until you get the results you want.
There are 10 types of people in this world. Those who understand binary and those who don't.
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange