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



Vern,

This of course depends on the association of the file extension and the
Textpad application.  If you wanted to name the application (Excel for
example), save some typing and try something like this.

STRPCCMD PCCMD('Start EXCEL.EXE "\\192.168.1.3\root\home\vern\data1.txt"')

Otherwise, you must specify the path to the application, which may not be
constant on all installations.

Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-898-7863 or ext. 1863


-----Original Message-----
From: Vern Hamberg [mailto:vhamberg@centerfieldtechnology.com]
Sent: Tuesday, November 26, 2002 4:22 PM
To: midrange-l@midrange.com
Subject: Re: Running a VB program from the AS/400 IFS


The following worked - need to specify the NetServer share name after the
system name (or IP address)

    STRPCCMD PCCMD('\\192.168.1.3\root\home\vern\data1.txt')

started up TextPad on my PC. root is the share name for '\'

Cool

Vern

At 04:46 PM 11/26/2002 -0500, you wrote:

>Try STRPCO, Then STRPCCMD PCCMD('\\myAs400\myfolder\mypgm.exe')
>
>Thanks,
>
>Mark
>
>Mark Walter
>Sr. Programmer/Analyst
>Hanover Wire Cloth a div of CCX, Inc.
>mwalter@hanoverwire.com
>http://www.hanoverwire.com
>717.637.3795 Ext.3040
>
>
>---------------------------------------------------------------------------
--------------------------------|
>   |
>                                      |
>   |       To:     "Midrange Mailing List (E-mail)"
> <midrange-l@midrange.com>                                  |
>   |       cc:
>                                      |
>   |       Subject:     Running a VB program from the AS/400
> IFS                                               |
>
>
>---------------------------------------------------------------------------
--------------------------------|
>
>This message is in MIME format. Since your mail reader does not understand
>this format, some or all of this message may not be legible.
>--
>--
>[ Picked text/plain from multipart/alternative ]
>I have a VB file download program residing on the IFS that I want to be
>able
>to call from within a CL (or RPG?) program.  I have been trying to use
>iSeries Access PC Organizer but unless I have a mapped drive to the file
>location I have not been able to get the organizer to find the program.
>
>Searching through the Information Center has not been fruitful yet either.
>Has anyone had any experience with this kind of thing before?  If so would
>you please share how this could be done?
>
>TIA
>
>Rick Chevalier
>Sr. Programmer Analyst
>rick.chevalier@americredit.com


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-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.