I'm trying to create a Job that will run my SSIS project.
In my project, I have 3 user-defined parameters, startDate,endDate,shiaruchDate .
I've been searching online for a while but couldn't locate an answer that will help me.
I'm creating a new job, then created a new step, but the Parameter tab is empty and I can't fill anything. Where and how do I define the 3 parameters to be an input? Where do I need to specify this ?
Thanks .
I assume you are using SSIS 2012 or above.
If you had user defined parameters you could use environment variables to configure the parameters in SSISDB.
This link has further info with screenshots, hope that helps.
http://www.sqlchick.com/entries/2013/9/15/getting-started-with-parameters-variables-configurations-in.html
Cheers
Nithin
Related
I want to run a shell script to generate data files. Have created two parameters date and source. The flow is working fine with one set of parameter. But I want to run for various parameters
Please advise.
Thanks
I am creating a task inside a procedure using ODI Tools Reference and I am able to start a Load Plan automatically using OdiStartLoadPlan but is there any way to inactivate this LP?. I could not find any way to do that using ODI Tools. Maybe a groovy script would help, but could find info or tutorials to show me an example on how to do it.
Any reference?
Thanks a lot!
I'm using Azkaban 3.0 and I have it on a server with two executors. I have a simple echo job that I'm running and I'm specifying the executor by setting the setExecutor=id# in the flow parameters. but whenever I run tise job the execution keeps alternating between the two executors although it explicitly specified in the job definition to run on the second executor only.
Do I need to change something in the configurations?
I restarted azkaban with executors but it didn't help.
Thanks in advance!
check this out to know how to configure azaban with multiple executers. . .
http://azkaban.github.io/azkaban/docs/latest/#executor-setup
a got a help from a colleague and he showed me how to solve this issue.
it was solved by deleting the executor.port from azkaban webserver properties file.
I did see some other posts on this, but they were rather old and there does not appear to be any solutions at this point.
I'm trying to determine where a particular table(s) that SSIS is loading during a monthly job is being used in other packages. The package that loads these tables have in the past several months been taking much longer than before, and I'm trying to see if I can eliminate this load all together.
I just happened to check the Allocation packages in our database to see how the tables were being used, and discovered that I can't find anywhere when/where those tables are being used. Is there a function or query I can run in SSMS or elsewhere to determine how to find this information?
Thx in advance - please let me know if I need to clarify something.
The packages are just XML files. If you have the packages somewhere on your file system you can use any program that searches through text files.
I'm not sure about older SSIS projects but with an SSIS project in Data Tools for SQL Server 2012 you can just use the build in search function to search through your entire solution. It will also search in the XML of all the packages.
If you don't have this particular information saved anywhere already in your documentation then I think you are going to have some difficulty in finding an accurate way to retrieve this information. However, there are a few automated data collection options that might help you get most of the way there.
The first option is that because all SSIS Packages are essentially glorified XML that is being fed into an engine you can perform a patterned search on the packages like GREP to look for that particular table name. Any packages that dynamically retrieve and build the table name though would not be found through this method.
Another option would be to run a server side SQL trace with a pattern match based on the table name(s) and limited to the host or application name of SSIS. Run over the course of a month or so would make for a fairly accurate list.
I haven't used it myself, but the DOC xPress tool from PragmaticWorks might be what you're looking for.
I'm developing a Salesforce package that depends on some prepopulated data to work correctly (ie: a list of countries to populate a custom setting).
Is there a way to prepopulate these objects at installation/upgrade time? (e.g. uploading a csv with the data I need to insert into some custom objects).
Is there a way to run a custom script at installation/upgrade time? (e.g. have the script update information on new fields, or adapt existing data to a modified object structure).
Thanks in advance.
This is actually a new piece of functionality that is coming in the Summer '12 (API Version 25.0) release. There are two new interfaces to implement, InstallHandler and UninstallHandler, which can be setup to run on install and uninstall of a package respectively. You could implement the InstallHandler and populate the objects/custom settings in that class.
An alternative is to use a custom settings value to know if the installation procedure was run. Then you can use your package's point of entry to check for it and do the procedure if the value indicates it needs to run. It's a little complicated if you don't have a single point of entry.