× 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 was also getting access denied in the spoolfile generated from RUNRMTCMD. Have you seen the replies to my post?

-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de DeLong, Eric
Envoyé : mardi 4 décembre 2007 18:05
À : Midrange Systems Technical Discussion
Objet : RE: Another STRPCCMD question

Some things to check.....

1. Check your share. System i does not normally have a share to /tmp, so unless someone created one, you would not have any access to that directory.

2. Make sure your network userid and password are EXACTLY the same as your i5OS profile/password, OR, map the share to a drive and use "connect using...." to specify your i5OS credentials.

hth,
Eric

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of nickmart@xxxxxxxxxxxxxxx
Sent: Tuesday, December 04, 2007 10:33 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Another STRPCCMD question


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.




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