Packages

More
3 years 1 month ago #22744 by hanisultan
Packages was created by hanisultan
Is it possible to run packages outside ETL like from the command line or PowerShell script and such?
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #22749 by admin
Replied by admin on topic Packages
Yes it is possible

Please have a look a the following article

www.etl-tools.com/wiki/advanced-etl-proc...mand-line-interface/

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
3 years 4 weeks ago #22752 by hanisultan
Replied by hanisultan on topic Packages
Thank you , I tired it and it works.  I tried to run it from SQL and it didn't work using xp_cmdshell and was wondering if anyone has tried it and able to provide how they did it?  
Thank you 
The following user(s) said Thank You: Peter.Jonson

Please Log in or Create an account to join the conversation.

More
3 years 4 weeks ago #22754 by Peter.Jonson
Replied by Peter.Jonson on topic Packages
Re xp_cmdshell you might need to check the user access rights

Or if you have the agent installed and configured you can try this approach

www.etl-tools.com/automation/0009-runnin...-party-software.html

Peter Jonson
ETL Developer

Please Log in or Create an account to join the conversation.

More
3 years 4 weeks ago #22758 by hanisultan
Replied by hanisultan on topic Packages
I do have Admin permission - I thought it would something simple, I have done it before, something like this 
DECLARE @command varchar(8000)
SET @command = 'c:\Program Files (x86)\DB Software Laboratory\Advanced ETL Processor Enterprise\aetlcl.exe 4714"' 
EXEC  xp_cmdshell @command
Or   this if I have the exe file in the c drive
SET @command = 'c:\aetlcl.exe 4714'
EXEC xp_cmdshell @command

But all I get is a Null output,  Your idea would work too but thought I would try to do the above - thank you 

Please Log in or Create an account to join the conversation.

More
3 years 4 weeks ago #22759 by Peter.Jonson
Replied by Peter.Jonson on topic Packages
You can try redirecting output to the log file 

SET @command = 'c:\aetlcl.exe 4714 > c:\temp\data.log'

It might have some useful information

Peter Jonson
ETL Developer

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save