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
Solved

Call iseries remote procedure from DTS using url

Posted on 2006-07-19
4
686 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
  • 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SSAS Store Forecasting data in the cube 1 17
Stored Proc - Rewrite 42 56
SQL USE DATABASE VARIABLE 5 27
SQL - Simple Pivot query 8 13
Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
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, show how to shrink a transaction log file down to a reasonable size.

839 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