Solved

Read output of exe in SSIS Package

Posted on 2011-02-22
3
1,620 Views
Last Modified: 2012-06-27
Hi,

I am executing a exe in SSIS using Execute Process Task. This exe returns a integer value. How to capture it in SSIS package?
0
Comment
Question by:priyanka_kothari
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 40

Expert Comment

by:lcohan
ID: 34955691
You can call a SSIS from within a SSIS and pass a parameter like:

DTSRun /S "(local)" /N "PkgTest" /A "varFile":"8"="File_001.xls" /E

Note: "8" is DataType ID

Parameterized SSIS Package - Passing parameters to SSIS package from command line
DTSExec /SQL "\PkgTest" /SERVER "(local)" /SET "\Package.Variables[User::varFile].Value";"File_001.xls"

Please refer the following to get more info on DTExec:

http://msdn.microsoft.com/en-us/library/ms162810.aspx

0
 
LVL 2

Assisted Solution

by:Michael-Thomas
Michael-Thomas earned 250 total points
ID: 34956865
In the Process section of the Execute Process task there is a spot to supply a variable for the standard input/output which you can use later in your package
0
 
LVL 6

Accepted Solution

by:
Rajesh_mj earned 250 total points
ID: 34958414
Please create a variable and use the variable in the ExecValueVariable property of the Execute Process Task.

Please refer below link for the details:
http://social.msdn.microsoft.com/Forums/en/sqlintegrationservices/thread/8df1c8e0-5149-44bd-a6cd-0c7f1364a7cc

0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am showing a way to read/import the excel data in table using SQL server 2005... Suppose there is an Excel file "Book1" at location "C:\temp" with column "First Name" and "Last Name". Now to import this Excel data into the table, we will use…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question