Posted: Sat Jun 12, 2004 11:11 am Post subject: ESQL QUESTION
Apprentice
Joined: 16 May 2002 Posts: 29 Location: chennai
HI GUYS
I HAVE AN INPUT XML MESSAGE WITH A DATE FIELD
THE INCOMMING DATE FIELD IS OF THE FORMAT
DATE 6-6-2000
I NEED TO BE LIKE 2000-6-6 IN THE OUTPUT MESSAGE
CAN ANYBODY GIVE ME THE ESQL TO MAKE THE DATE TO THE ABOVE FORMAT
REGARDS
SRINI
Please try harder to solve your own problems, rather than demanding solutions from other people. _________________ I am *not* the model of the modern major general.
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
Shrinivas,
Take a look at ESQL reference manual. You will find some examples similar to this. There are different ways of doing this.
You need to use a combination of CAST and SUBSTRING function. _________________ 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