× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Mario,

The data length that you can pass to STRPCCMD is very limited... so I
could for example suggest to use something like
1) create an RPG program that write the xml file in a shared IFS
directory.
2) create a windows shell script (.cmd or .bat) that receives the file
name as a parameter and
build a string concatening part1 the fixed URL and part 2 read
from IFS file
call the full url with a windows start command.
3) call the PC command file using STRPCCMD

KR
Paul




From: Mario Salgado Montenegro <salgadoas400@xxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Date: 24/06/2017 02:52
Subject: Trouble with STRPCCMD Trying to open a complex URL
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



Hello Guys,

I got an AS400 running OS 6.1 I need to build an url that consist in two
parts:

1) The first for example is a common http://datart.etc.com/etc (Static)

2) The second part I need to create an XML reading a phisical file getting
information for every tag (Dinamic)

The final url is Part1 + Part2 (A long long Url to open with Strpco,

So I need a Jedi Masters to let me know how to make
STRPCCMD Works with this type of Url or if you know or have some examples
to learn how to doit i really appreciate your support.
Best Regards,




Saludos Cordiales,

Atte,

Mario Alexis Salgado Montenegro
Programador Senior RPG AS400
+50378084617
SalgadoAS400@xxxxxxxxx

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.