Posted: Mon May 31, 2004 8:07 am Post subject: data type conversion
Novice
Joined: 09 Apr 2004 Posts: 10
I have one doubt in ESQL.While constructing output MRM message if we assign say 0 to a field of type string,then does it automatically convert 0 to string type or do we have to put 0 in quotes to make it string and then assign it to string type field??Please help me!!!
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
Plesae take a look at Chapter 7 in ESQL reference Manual. Section The CAST function explains the supported and unsupported CAST between different data types.
To answer your question, you don't have to CAST numeric 0 to string data type. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
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