I was trying to unload DB2 data through query which involves joins and has functions like sum . There are 2 amount fields which are defined as Decimal 11,2 in DB2 .
I tried BMCUNLOAD and DSNTIUL .
But while data in non numerica fields was accurate , I found junk / garbage data in numeric fields .
I was suggested to use the copybook structure in order to view this data .
Since there is no processing involved and I just load the data back to other table , I don't prefer to add a copybook .
Can somebody help ?
IBM Unload,BMCUNLOAD or whatever is just fine with me .
Appreciate your help !
Please let me know if any additional information is required.