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



Thanks for the information.  I was trying to use the system name instead of
the IP address and didn't have the root directory at all.

I now have a different issue however and because this is new ground for us
as far as I know I am not sure where to look next.  Using this command
STRPCCMD PCCMD('\\10.192.3.200\home\rcheva1\testexcel.exe') I receive the
message 'Access is denied' in a DOS(?) pop up window but I don't know where
the denial is happening.  I have the directory mapped to a PC drive and can
run the program from the PC just fine.  The authority attributes on
TESTEXCEL.EXE are *RWX which I believe to be the highest level of access.

Can anyone help with where to look to track down the cause?



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