Posted: Thu Dec 12, 2002 12:54 am Post subject: Date/Time problem in MQ java libs on mainframe
Master
Joined: 16 Oct 2001 Posts: 246 Location: Katowice, Poland
Env: MQ java program on a mainframe (z/OS 1.2), MQ ver. is 5.2
Problem: When setting
MQMessage.putDateTime = new GregorianCalendar()
we get the correct time, but the date is missing.
The above described problem occurs when we use MQPMO_SET_ALL_CONTEXT (which means we fill all the context fields). When we use MQPMO_SET_IDENTITY_CONTEXT, the date and time are set by MQSeries and are correct.
Thanks in advance for any hints _________________ Marcin Grabinski <><
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