ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » queries on WMI 6.1

Post new topic  Reply to topic
 queries on WMI 6.1 « View previous topic :: View next topic » 
Author Message
vijayakumar
PostPosted: Wed Aug 18, 2010 5:00 am    Post subject: queries on WMI 6.1 Reply with quote

Centurion

Joined: 01 Aug 2010
Posts: 101

IN WMB 5 , we can directly insert the values in db using

For eg :

if environment.variables.name = 'ram' then

INSERT INTO Database.TABLE1(MSGDATA, MSGENCODING, MSGCCSID)
VALUES (msgBitStream, inEncoding, inCCSID);

Is it possible to do as such directly in WMB 6.1 or we should use Passthrough as below ?

if environment.variables.name = 'ram' then

PASSTHROUGH(INSERT INTO Database.TABLE1(MSGDATA, MSGENCODING, MSGCCSID)
VALUES (msgBitStream, inEncoding, inCCSID));
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 18, 2010 5:11 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The syntax on both of those expressions is incorrect.

The INSERT statement did not drastically change between version 5 and version 6 and later that I recall.

What happens when you try this?
Back to top
View user's profile Send private message
vijayakumar
PostPosted: Wed Aug 18, 2010 5:27 am    Post subject: Reply with quote

Centurion

Joined: 01 Aug 2010
Posts: 101

Since i have v 5 , i tried it in that its working fine . I dont know abt in v 6.1 .

can anyone help me thos who r working in v 6 ?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 18, 2010 5:45 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

vijayakumar wrote:
Since i have v 5 , i tried it in that its working fine . I dont know abt in v 6.1 .


As I said in your other post, the v6.1 InfoCentre has the details you need on version changes.

Also if you're planning (as you indicated there) to migrate from one version to the new one, the sensible course of action is to set up a migration test environment and try these things.

People have also tried something called "regression testing" to see if their set up will work on a new version or configuration. You could consider that as well.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » queries on WMI 6.1
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.