Solved

Call iseries remote procedure from DTS using url

Posted on 2006-07-19
4
688 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 500 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how the fundamental information of how to create a table.

724 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