Posted: Tue Sep 01, 2009 10:10 pm Post subject: encoding in javaCompute
Centurion
Joined: 01 Feb 2007 Posts: 107
Sorry this might be a double post......
i got another problem here....in setting the encoding and ccsid in MQMD.
As u guys know they are type int.
how can i set a value to those fields..
if i am using the below statement it wont allow cause set value will take only string and i can see the value getting changed in the mqmd--encoding but when validating it throws cast exception.
i tried using setSpecificType()..after parsing encoding to int but i cant see anyvalue .being set to encoding fied ...could some one guide me how and where am i going wrong..
Should this not be:
Integer charset = new Integer(1208);
?
And a quick sanity check from the OP, why are you doing all this in Java? If you're doing simple transformations then ESQL will probably be easier and more efficient.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum