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 » Automating Windows activities

Post new topic  Reply to topic
 Automating Windows activities « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Mon Sep 18, 2006 4:44 pm    Post subject: Automating Windows activities Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Is there a way to automate Windwos activities? For example, we have to create the datasource for the database. Instead doing this manually every time, can not we write a script ( I do not have any idea just curious) like:

ControlPanel->AdministrativeTools->DataSource->createdatasourcename DSN ( just a wild idea)
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Sep 18, 2006 7:07 pm    Post subject: Re: Automating Windows activities Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi jeevan,
jeevan wrote:
ControlPanel->AdministrativeTools->DataSource->createdatasourcename DSN ( just a wild idea)
Not this way....but I suppose you could do it from command line...look for ODBC creation from db2 command prompt...then envelope it into a bat.

Regards.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Mon Sep 18, 2006 7:52 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Or have the windows admin deploy it remotely to x many pcs at once...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
wschutz
PostPosted: Tue Sep 19, 2006 2:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

What about:

mqsicreatedb command
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jeevan
PostPosted: Tue Sep 19, 2006 3:02 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

Thank you very much for your valuable ideas and suggestions.
Back to top
View user's profile Send private message
ak
PostPosted: Mon Sep 25, 2006 2:15 am    Post subject: Reply with quote

Apprentice

Joined: 07 Aug 2006
Posts: 48
Location: England

Let say db2 database name is WBRKDB and user is db2admin

C:\> db2 create database WBRKDB;
C:\> db2 grant all to db2admin;

Also do this
ControlPanel ->Adminstrative tools -> Data Source(ODBC)->System DSN

- Add database(WBRKDB) to the list.
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 » Automating Windows activities
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.