dbTalk Databases Forums  

Analysis Services Command line

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Analysis Services Command line in the microsoft.public.sqlserver.olap forum.



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

Default Analysis Services Command line - 07-25-2005 , 01:30 PM






I have converted my cubes to Yukon, and have generated an xmla script. How
can I exeute this script from the command line?

Thanks,
--
Jason

Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: Analysis Services Command line - 07-26-2005 , 11:48 AM






Within an IS package there is a new task called Execute Analysis Services
DDL. A simple package with just one task it will do it. The task can take
its script from either a file or a variable. Then you launch the package via
dtexec overriding the location of the xmla filename for the task to execute.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"JasonDWilson" <JasonDWilson (AT) discussions (DOT) microsoft.com> wrote

Quote:
I have converted my cubes to Yukon, and have generated an xmla script. How
can I exeute this script from the command line?

Thanks,
--
Jason



Reply With Quote
  #3  
Old   
JasonDWilson
 
Posts: n/a

Default Re: Analysis Services Command line - 07-26-2005 , 01:33 PM



Thanks, for the info. I am learning to use the DTEXEC. I cannot figure out
how I can pass the file name and location into the package (DTSX) for my AS
XML file. Any help or direction you can pass me in this forum, or web link
that may provide a little more information? I was hoping I could set it up
so I could pass it directly from the command line.

Thanks,
--
Jason


"Dave Wickert [MSFT]" wrote:

Quote:
Within an IS package there is a new task called Execute Analysis Services
DDL. A simple package with just one task it will do it. The task can take
its script from either a file or a variable. Then you launch the package via
dtexec overriding the location of the xmla filename for the task to execute.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"JasonDWilson" <JasonDWilson (AT) discussions (DOT) microsoft.com> wrote in message
news:949FB9BB-B01B-4380-BF0E-706419D9189A (AT) microsoft (DOT) com...
I have converted my cubes to Yukon, and have generated an xmla script. How
can I exeute this script from the command line?

Thanks,
--
Jason




Reply With Quote
  #4  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: Analysis Services Command line - 07-27-2005 , 11:19 AM



From a dos box, do a DTEXEC /?
You will see that there is a switch to supply a config file.
The config file will have an override for a property of the DDL task file
name.
Or you could put the file name into a variable and use an expression.
Or you could put the XMLA script text in the config file to be loaded into a
variable and then have the DDL task take the script from the variable.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"JasonDWilson" <JasonDWilson (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thanks, for the info. I am learning to use the DTEXEC. I cannot figure
out
how I can pass the file name and location into the package (DTSX) for my
AS
XML file. Any help or direction you can pass me in this forum, or web
link
that may provide a little more information? I was hoping I could set it
up
so I could pass it directly from the command line.

Thanks,
--
Jason


"Dave Wickert [MSFT]" wrote:

Within an IS package there is a new task called Execute Analysis Services
DDL. A simple package with just one task it will do it. The task can take
its script from either a file or a variable. Then you launch the package
via
dtexec overriding the location of the xmla filename for the task to
execute.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"JasonDWilson" <JasonDWilson (AT) discussions (DOT) microsoft.com> wrote in message
news:949FB9BB-B01B-4380-BF0E-706419D9189A (AT) microsoft (DOT) com...
I have converted my cubes to Yukon, and have generated an xmla script.
How
can I exeute this script from the command line?

Thanks,
--
Jason






Reply With Quote
  #5  
Old   
JasonDWilson
 
Posts: n/a

Default Re: Analysis Services Command line - 07-27-2005 , 01:25 PM



Thanks for the help. I will try to do this. Sounds like the config file is
the way to go, now to figure out how to create one. I have been watching
SSIS webcasts to figure out how to do some of this in SS 2005, but haven't
found this yet.

Thanks,
--
Jason


"Dave Wickert [MSFT]" wrote:

Quote:
From a dos box, do a DTEXEC /?
You will see that there is a switch to supply a config file.
The config file will have an override for a property of the DDL task file
name.
Or you could put the file name into a variable and use an expression.
Or you could put the XMLA script text in the config file to be loaded into a
variable and then have the DDL task take the script from the variable.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.


"JasonDWilson" <JasonDWilson (AT) discussions (DOT) microsoft.com> wrote in message
news:0476829C-7921-4785-B8C6-89E49D773DAD (AT) microsoft (DOT) com...
Thanks, for the info. I am learning to use the DTEXEC. I cannot figure
out
how I can pass the file name and location into the package (DTSX) for my
AS
XML file. Any help or direction you can pass me in this forum, or web
link
that may provide a little more information? I was hoping I could set it
up
so I could pass it directly from the command line.

Thanks,
--
Jason


"Dave Wickert [MSFT]" wrote:

Within an IS package there is a new task called Execute Analysis Services
DDL. A simple package with just one task it will do it. The task can take
its script from either a file or a variable. Then you launch the package
via
dtexec overriding the location of the xmla filename for the task to
execute.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no
rights.


"JasonDWilson" <JasonDWilson (AT) discussions (DOT) microsoft.com> wrote in message
news:949FB9BB-B01B-4380-BF0E-706419D9189A (AT) microsoft (DOT) com...
I have converted my cubes to Yukon, and have generated an xmla script.
How
can I exeute this script from the command line?

Thanks,
--
Jason







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.