dbTalk Databases Forums  

Opening and Editing DTS package

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Opening and Editing DTS package in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
manu
 
Posts: n/a

Default Opening and Editing DTS package - 03-21-2008 , 04:02 PM






Hi,

Please tell me whether its possible to open dts package using activeX
scripts(written in VB,js etc.) or by some other means but not thru Enterprise
manager directly. I need to specify logfile in each package on one of our
server. There are hundreds of packages on this server.

Please tell me how I can accomplish this task without manually opening and
editing each package under enterprise manager.

Thanks in advance,
Manu

Reply With Quote
  #2  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Opening and Editing DTS package - 03-25-2008 , 12:31 PM






Manu,

Yes it is possible to do this and there are many examples around the
'net. The only issue is that the layout of the package will be lost
when it is saved outside the designer. If the layout is not important
then proceed.

An alternative would be to set the log file on the DTSRUN command at
the job level.

from DTSRUN /?
Package operation (overrides stored Package settings):
/~A Global Variable Name:typeid=Value <may quote entire string
(in...
/~L Log file name
/~W Write Completion Status to Windows Event Log <True or False>

You could easily write a query to update the jobsteps to modify the
command column to add the /~L<file path>.

Norman Kelm

DTS Package Search
http://www.dtspackagesearch.com/

On Mar 21, 5:02 pm, manu <m... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi,

Please tell me whether its possible to open dts package using activeX
scripts(written in VB,js etc.) or by some other means but not thru Enterprise
manager directly. I need to specify logfile in each package on one of our
server. There are hundreds of packages on this server.

Please tell me how I can accomplish this task without manually opening and
editing each package under enterprise manager.

Thanks in advance,
Manu


Reply With Quote
  #3  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Opening and Editing DTS package - 03-25-2008 , 12:31 PM



Manu,

Yes it is possible to do this and there are many examples around the
'net. The only issue is that the layout of the package will be lost
when it is saved outside the designer. If the layout is not important
then proceed.

An alternative would be to set the log file on the DTSRUN command at
the job level.

from DTSRUN /?
Package operation (overrides stored Package settings):
/~A Global Variable Name:typeid=Value <may quote entire string
(in...
/~L Log file name
/~W Write Completion Status to Windows Event Log <True or False>

You could easily write a query to update the jobsteps to modify the
command column to add the /~L<file path>.

Norman Kelm

DTS Package Search
http://www.dtspackagesearch.com/

On Mar 21, 5:02 pm, manu <m... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi,

Please tell me whether its possible to open dts package using activeX
scripts(written in VB,js etc.) or by some other means but not thru Enterprise
manager directly. I need to specify logfile in each package on one of our
server. There are hundreds of packages on this server.

Please tell me how I can accomplish this task without manually opening and
editing each package under enterprise manager.

Thanks in advance,
Manu


Reply With Quote
  #4  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Opening and Editing DTS package - 03-25-2008 , 12:31 PM



Manu,

Yes it is possible to do this and there are many examples around the
'net. The only issue is that the layout of the package will be lost
when it is saved outside the designer. If the layout is not important
then proceed.

An alternative would be to set the log file on the DTSRUN command at
the job level.

from DTSRUN /?
Package operation (overrides stored Package settings):
/~A Global Variable Name:typeid=Value <may quote entire string
(in...
/~L Log file name
/~W Write Completion Status to Windows Event Log <True or False>

You could easily write a query to update the jobsteps to modify the
command column to add the /~L<file path>.

Norman Kelm

DTS Package Search
http://www.dtspackagesearch.com/

On Mar 21, 5:02 pm, manu <m... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi,

Please tell me whether its possible to open dts package using activeX
scripts(written in VB,js etc.) or by some other means but not thru Enterprise
manager directly. I need to specify logfile in each package on one of our
server. There are hundreds of packages on this server.

Please tell me how I can accomplish this task without manually opening and
editing each package under enterprise manager.

Thanks in advance,
Manu


Reply With Quote
  #5  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Opening and Editing DTS package - 03-25-2008 , 12:31 PM



Manu,

Yes it is possible to do this and there are many examples around the
'net. The only issue is that the layout of the package will be lost
when it is saved outside the designer. If the layout is not important
then proceed.

An alternative would be to set the log file on the DTSRUN command at
the job level.

from DTSRUN /?
Package operation (overrides stored Package settings):
/~A Global Variable Name:typeid=Value <may quote entire string
(in...
/~L Log file name
/~W Write Completion Status to Windows Event Log <True or False>

You could easily write a query to update the jobsteps to modify the
command column to add the /~L<file path>.

Norman Kelm

DTS Package Search
http://www.dtspackagesearch.com/

On Mar 21, 5:02 pm, manu <m... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi,

Please tell me whether its possible to open dts package using activeX
scripts(written in VB,js etc.) or by some other means but not thru Enterprise
manager directly. I need to specify logfile in each package on one of our
server. There are hundreds of packages on this server.

Please tell me how I can accomplish this task without manually opening and
editing each package under enterprise manager.

Thanks in advance,
Manu


Reply With Quote
  #6  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Opening and Editing DTS package - 03-25-2008 , 12:31 PM



Manu,

Yes it is possible to do this and there are many examples around the
'net. The only issue is that the layout of the package will be lost
when it is saved outside the designer. If the layout is not important
then proceed.

An alternative would be to set the log file on the DTSRUN command at
the job level.

from DTSRUN /?
Package operation (overrides stored Package settings):
/~A Global Variable Name:typeid=Value <may quote entire string
(in...
/~L Log file name
/~W Write Completion Status to Windows Event Log <True or False>

You could easily write a query to update the jobsteps to modify the
command column to add the /~L<file path>.

Norman Kelm

DTS Package Search
http://www.dtspackagesearch.com/

On Mar 21, 5:02 pm, manu <m... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi,

Please tell me whether its possible to open dts package using activeX
scripts(written in VB,js etc.) or by some other means but not thru Enterprise
manager directly. I need to specify logfile in each package on one of our
server. There are hundreds of packages on this server.

Please tell me how I can accomplish this task without manually opening and
editing each package under enterprise manager.

Thanks in advance,
Manu


Reply With Quote
  #7  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Opening and Editing DTS package - 03-25-2008 , 12:31 PM



Manu,

Yes it is possible to do this and there are many examples around the
'net. The only issue is that the layout of the package will be lost
when it is saved outside the designer. If the layout is not important
then proceed.

An alternative would be to set the log file on the DTSRUN command at
the job level.

from DTSRUN /?
Package operation (overrides stored Package settings):
/~A Global Variable Name:typeid=Value <may quote entire string
(in...
/~L Log file name
/~W Write Completion Status to Windows Event Log <True or False>

You could easily write a query to update the jobsteps to modify the
command column to add the /~L<file path>.

Norman Kelm

DTS Package Search
http://www.dtspackagesearch.com/

On Mar 21, 5:02 pm, manu <m... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi,

Please tell me whether its possible to open dts package using activeX
scripts(written in VB,js etc.) or by some other means but not thru Enterprise
manager directly. I need to specify logfile in each package on one of our
server. There are hundreds of packages on this server.

Please tell me how I can accomplish this task without manually opening and
editing each package under enterprise manager.

Thanks in advance,
Manu


Reply With Quote
  #8  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Opening and Editing DTS package - 03-25-2008 , 12:31 PM



Manu,

Yes it is possible to do this and there are many examples around the
'net. The only issue is that the layout of the package will be lost
when it is saved outside the designer. If the layout is not important
then proceed.

An alternative would be to set the log file on the DTSRUN command at
the job level.

from DTSRUN /?
Package operation (overrides stored Package settings):
/~A Global Variable Name:typeid=Value <may quote entire string
(in...
/~L Log file name
/~W Write Completion Status to Windows Event Log <True or False>

You could easily write a query to update the jobsteps to modify the
command column to add the /~L<file path>.

Norman Kelm

DTS Package Search
http://www.dtspackagesearch.com/

On Mar 21, 5:02 pm, manu <m... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi,

Please tell me whether its possible to open dts package using activeX
scripts(written in VB,js etc.) or by some other means but not thru Enterprise
manager directly. I need to specify logfile in each package on one of our
server. There are hundreds of packages on this server.

Please tell me how I can accomplish this task without manually opening and
editing each package under enterprise manager.

Thanks in advance,
Manu


Reply With Quote
  #9  
Old   
nite_eagle@hotmail.com
 
Posts: n/a

Default Re: Opening and Editing DTS package - 03-25-2008 , 12:31 PM



Manu,

Yes it is possible to do this and there are many examples around the
'net. The only issue is that the layout of the package will be lost
when it is saved outside the designer. If the layout is not important
then proceed.

An alternative would be to set the log file on the DTSRUN command at
the job level.

from DTSRUN /?
Package operation (overrides stored Package settings):
/~A Global Variable Name:typeid=Value <may quote entire string
(in...
/~L Log file name
/~W Write Completion Status to Windows Event Log <True or False>

You could easily write a query to update the jobsteps to modify the
command column to add the /~L<file path>.

Norman Kelm

DTS Package Search
http://www.dtspackagesearch.com/

On Mar 21, 5:02 pm, manu <m... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
Hi,

Please tell me whether its possible to open dts package using activeX
scripts(written in VB,js etc.) or by some other means but not thru Enterprise
manager directly. I need to specify logfile in each package on one of our
server. There are hundreds of packages on this server.

Please tell me how I can accomplish this task without manually opening and
editing each package under enterprise manager.

Thanks in advance,
Manu


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.