Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Call iseries remote procedure from DTS using url

Posted on 2006-07-19
4
Medium Priority
?
692 Views
Last Modified: 2013-11-30
I need to call an iseries remote procedure to generate the file that I need to import in DTS.

Here is the deal:

The AS400 team has created a remote procedure that can be called by a url.
If I type the url in a browser it runs a rpg program that exports data to my server. Then all I have to do is import the file.
The problem I am having is in how to call the remote procedure from DTS.
I need to either call the url from DTS or call the remote procedure directly from DTS.
Any help is appreciated.
0
Comment
Question by:EVANFAGER
[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
  • 2
  • 2
4 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 17143641
>>I need to either call the url from DTS or call the remote procedure directly from DTS.<<
No different than executing a URL from the Command Line.  Therefore you can use an Execute Process Task.  However your biggest challenge will be to wait until it has finished, before executing the import.  You may want to schedule the first part separate from the second part.
0
 

Author Comment

by:EVANFAGER
ID: 17147085
That seemed to work but I still have a question. I typed the browser path in the win32 process line and the url in the parameter and it brought up the browser with the correct url. I set the timeout and it closed the browser but gave me the following error: The process created by a task did not terminate within the time specified
How do I close the browser without getting the error?
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 2000 total points
ID: 17147400
To be honest I have no idea.  I have never done it that way our SQL Servers never have access to the Internet.  I will see if I get a chance to test it out tonight when I get home.
0
 

Author Comment

by:EVANFAGER
ID: 17147609
That's cool thanks, I can handle it with error handling. FYI though, we don't open our servers up to the internet either it's on our intranet.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

604 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