× 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.



Only thing I could think of would be to create a batch file that accepts the
5 tracking numbers

You could put the batch file on a server, that way you won't need it on each
PC.  The strpccmd then becomes
\\server\share\trackups.bat xxxxxxxxxx xxxxxxxxxx xxxxxxxxx xxxxxxxxxx
xxxxxxxxxx

the batch file can then be:

start http:\\www.ups.com\tracking\......

whatever it needs.

Depending on how the UPS web site handles the URL when you pass less than 5
tracking numbers, you might have to do some additional work in your batch
file to find the parms that are empty.


Other option:
The newer 5250 emulators can recognize a web URL and create a hotspot for
it.  Haven't used this myself, but you might be able to use this
functionality instead of STRPCCMD.  Your users would need to use the mouse
to click the URL hotspot on the green screen.

HTH,
Charles


> -----Original Message-----
> From: fraser@xxxxxxxxxxxx [mailto:fraser@xxxxxxxxxxxx]
> Sent: Wednesday, July 07, 2004 11:56 AM
> To: rpg400-l@xxxxxxxxxxxx
> Subject: STRPCCMD
> 
> 
> I am writing a program that will allow users to view UPS's  
> tracking system
> on the web from a RPGIV program. I have been successful when 
> there has been
> only one tracking number. I use the STRPCCMD command to initiate the
> process. However, when trying to use multiple tracking 
> numbers the PCCMD
> parameter exceeds 123 characters and the program 
> malfunctions. Has anyone
> had any kind of experience with this and can tell me how to 
> possibly get
> around this problem?  Thanks.
>  
> Gary Fraser
> IS Manager
> Peerless-Winsmith Inc.
> (716) 592-9310 x527
> fraser@xxxxxxxxxxxx
>  
> --
> This is the RPG programming on the AS400 / iSeries (RPG400-L) 
> mailing list
> To post a message email: RPG400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
> or email: RPG400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/rpg400-l.
> 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.