|
Is the service to receiving incoming remote commands running?
Thanks,
Tommy Holden
From: Jerry Adams <Jerry@xxxxxxxxxxxxxxx>
To: "Midrange-L (midrange-l@xxxxxxxxxxxx)" <midrange-l@xxxxxxxxxxxx>
Date: 10/22/2010 09:13 AM
Subject: STRPCCMD Suddenly Not Working
Sent by: midrange-l-bounces@xxxxxxxxxxxx
I thought I had figured this out yesterday. The CL below worked yesterday
(honestly), but this morning when re-testing nothing happens. Under debug
I can see that the variable gets set properly. I have double-checked that
the file exists with the same case as in the CL. The CL is intended to be
called from within an RPG IV program, but even as a stand-alone call it is
not working. The S:\ drive, by the way, is the shared drive on our
Windows (2003, I think) file server. I have tried replacing it with the
IP address, but same results - nada. I even tried creating and using a
standard DOS (8.3) file name - zilch. Any clues?
PGM
DCL VAR(&DOC) TYPE(*CHAR) LEN(128)
CHGVAR VAR(&DOC) +
VALUE('rundll32 shell32,ShellExec_RunDLL +
"S:\IT_AS400\Documentation\Procedures\+
Importing a System i File Into Excel.pdf"')
STRPCCMD PCCMD(&DOC) PAUSE(*NO)
ENDPGM
Jerry C. Adams
IBM System i Programmer/Analyst
Baeball is 90% mental. The other half is physical. - Yogi Berra
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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 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.