I would also be aware that if you copy the file to QTEMP for the QTMHHTP1
profile, if you expect the next web request to have access to that file it
may not as the next request may be a different job and thus, a different
QTEMP.

QTEMP can be used for a one time shot, but don't expect it to work over
multiple requests/CGI calls consistently.

Brad
www.bvstools.com

On Thu, Jul 28, 2016 at 9:17 AM, Roche, Bob <broche@xxxxxxxxxxxxxxxxx>
wrote:

Also check on QTMHHTP1's user profile for the LMTCPB. My system is *no,
but if it is *yes. That may be an issue.

-----Original Message-----
From: WEB400 [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Eric
Sent: Thursday, July 28, 2016 9:10 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] MCH1001 in CGI-Program

Did you check what authority QTMHHTP1 user profile has?

On 28 July 2016 at 15:04, Jan Grove Vejlstrup <jgv@xxxxxxxx> wrote:

Hello,

I'm trying to copy a physical file from a library in the library-list
to qtemp in a cgi-job running under the user profile qtmhhtp1. The
command is:

crtdupobj obj(myFile) from(*libl) objtype(*file) tolib(qtemp)

The file myFile has Authority *public *all. I receive the message
MCH1001 (attempt to use permanent system object qtmhhtp1 without
authority). The file doesn't get copied.

What am I doing wrong?

Thank you very much in advance.

Best regards

Jan



--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400)
mailing list To post a message email: WEB400@xxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com
_mailman_listinfo_web400&d=CwICAg&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6M
Svd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=rtxi8OmoW07_
iM2EJxgVcK7hEDj6DTWncNRVt-9X4Pk&s=3GPlTiuRlBrXqYjK1k6GNRQxyw_jv7YG7VTe
5N0TExc&e=
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at

https://urldefense.proofpoint.com/v2/url?u=http-3A__archive.midrange.com_web400&d=CwICAg&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=rtxi8OmoW07_iM2EJxgVcK7hEDj6DTWncNRVt-9X4Pk&s=Kl0Nczb0UvPJcxQefn_PU2LaycHTmlBR5J1rywsC4Yw&e=
.


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list To post a message email: WEB400@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_mailman_listinfo_web400&d=CwICAg&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=rtxi8OmoW07_iM2EJxgVcK7hEDj6DTWncNRVt-9X4Pk&s=3GPlTiuRlBrXqYjK1k6GNRQxyw_jv7YG7VTe5N0TExc&e=
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=http-3A__archive.midrange.com_web400&d=CwICAg&c=S6jE3hMA0s16gx2_CUBBn4vjc1odLunI6MSvd_AfdV8&r=Ub_YbVSedaHB7-0yGANN94iTrfkU2nCKT1D5-5Jv01Y&m=rtxi8OmoW07_iM2EJxgVcK7hEDj6DTWncNRVt-9X4Pk&s=Kl0Nczb0UvPJcxQefn_PU2LaycHTmlBR5J1rywsC4Yw&e=
.

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



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.