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




I believe that STRPCCMD cant get access to the IFS if you're not already logged into that system, e.g. with explorer. So you have to log in first (with explorer) and then STRPCCMD (or rather the DOS program) can access the IFS.

jacobus



Date: Tue, 4 Dec 2007 10:32:48 -0600
Subject: Re: Another STRPCCMD question
From: nickmart@xxxxxxxxxxxxxxx
To: midrange-l@xxxxxxxxxxxx

I have more details on my situation. The actual message that is being
displayed is:

There was an error opening this document. Access Denied.

I have attempted to open a spreadsheet using STRPCCMD. I get an "Access
Denied" message. This would lead me to believe that the user profile does
not have the proper authority to the IFS even though they are the owner as
well as having *OBJMGT authority to the objects themselves.

This user has the following special authorities assigned to their profile
of *JOBCTL and *SPLCTL. Is there something else I could get added to their
authorities to get this to work?

Thanks,

Nick W. Mart



I have run into another opportunity with using the following statement
from within an RPGLE program.

strpccmd pccmd('start acrord32.exe \\ip address\tmp\mypdf.pdf')
pause(*yes)

This seemed to work well until one user tried the program using a Vista
installation. They got an error message when Acrobat reader tried to open
the document. The error message was something like this.

Adobe reader encountered an error while trying to open the document.
Access is denied.

From the archive, I found that /tmp can be a bit of a problem. I copied
the document to another folder with the same results. I checked the
authorities on the document. The user is the owner.

I have unchecked the Restrict rename and unlink secruity property of both
folders. Same results.

I copied the document from iSeries Navigator to the Vista desktop. The
document opens without problem.

Any assistance would be greatly appreciated.

Nick W. Mart




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