Partner TechTip: Combine and Automate MS SQL Server and IBM i Processes PDF Print E-mail
Tips & Techniques - System Administration
Written by Tom Huntington   
Friday, 16 March 2012 00:00

Article Sponsor

HelpLogo

Address

6533 Flying Cloud Dr, Suite 200, Eden Prairie, MN, USA, 55344
Phone
952-933-0609
Fax
952-933-8153
Products

Help/Systems develops, markets, and supports automated operations and business intelligence software for the IBM System i. We devote 100% of our research and development to operations automation and business intelligence for System i computers, so we always will be here for the System i user.

 

Robot/SCHEDULE Enterprise runs your SSIS packages automatically.

 

More than 90 percent of the servers running next to IBM i servers are running Windows. And more than 50 percent of these Windows servers run MS SQL Server to perform some form of reporting against data that was stored on the IBM i system. This reporting process uses SQL Server Integration Services (SSIS) packages to bundle data and generate business reports.

 

The problem is that the process of getting the data to the Windows server from the IBM i server isn't synchronized with the process of launching the reporting process. In other words, it's not automated. Often, the result is events aren't monitored, run late, or don't run at all, which translates to unhappy customers waiting for their report data.

Automate

Robot/SCHEDULE Enterprise lets you monitor and automate this process without creating scripts. You just reference an SSIS package—all you need to know is its name—and you can continue to use your current SQL Server definitions.

 

Robot/SCHEDULE Enterprise checks return codes to either make sure the process finished successfully or verify that it failed. (If it failed, you can decide whether to rerun it.) Figure 1 shows an example of setting up a definition in Robot/SCHEDULE to run an SSIS package. That way, you can use the command for running tasks on a Windows server to run the process from the IBM i server.

 

031612Helpfig1

Figure 1: Set up a SQL Server relationship in Robot/SCHEDULE. (Click images to enlarge.)

 

You could send data to a SQL Server from the IBM i server to create reports and then incorporate the process into a single reactive job stream. For instance, run a job on the IBM i server to build the data, send the data to a Windows server with the SQL Server database, and then launch the process to run the SSIS package and create the reports.

Monitor Return Codes

Robot/SCHEDULE Enterprise works in the background by monitoring return codes for success or failure (Figure 2). This reactive processing eliminates the timed processes you may have been using and lets you build a reliable, automated process. (You can use Robot/SCHEDULE group jobs and reactive jobs to help build this process.)

 

031612Helpfig2

Figure 2: Specify return code testing in Robot/SCHEDULE Enterprise.

 

Want to eliminate the headache of babysitting timed or manual processes across platforms? Give Robot/SCHEDULE Enterprise a free 30-day trial and see how to improve your customer service to your team. Also check out Help/Systems' other offerings in the MC Showcase Buyer's Guide.

 


Tom Huntington
About the Author:

Tom Huntington is Vice President of Technical Services for Help/Systems, Inc. Contact Tom at 952.563.1606 or at tom.huntington@helpsystems.com.

 

See Tom Huntington's blog at http://www.helpsystems.com/blog/tomh.

 

Read More >>
Last Updated on Friday, 16 March 2012 00:00
 

You must be logged in to view or make comments on this article


User Rating: / 1
PoorBest 
   MC-STORE.COM