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


  • Subject: Re: IFS API problem
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Fri, 29 Jun 2001 08:20:14 -0700
  • Organization: Pacer International

Does the User who is running as the HTTP service have authority to the
library and physical file?  This would probably be QTMHHTP1 or QTMHHTTP.

I am pretty sure this is the type of error you would get if that user
profile didn't have the authority to the library or file.

One way me be to test the bejeebies out of this program and then 
give it adopted authority.

Regards,

Jim Langston

Me transmitte sursum, Caledoni!

Mike Silvers wrote:
> 
> Hi all.  I posted this on the Ignite/400 list and this list as well.  This
> problem has to do with both RPG programming and internet problems.  I am
> having some problems with an RPG program initiated from the
> HTTP server using an IFS API.  Here is the problem:
> 
> I have an RPG program that uses the IFS API open to check for the existence
> of a file.  I am attempting to open the file using read the read only code.
> If the file is there, I then close it and send a message saying that the
> file exists.
> 
> I tested the procedure using an RPG program that I call on the green screen.
> All works well.
> 
> Here is the problem.  When the procedure is called from the HTTP server, I
> receive an error that the directory or file does not exist.
> 
> The first thing I checked is the authorities of the directory,
> subdirectories, and the file itself.  They all have *public authority for
> everything.  I also specifically added the users QTMHHTTP and QTMHHTP1.
> Still no luck!
> 
> Does anyone have any ideas?
> 
> Thanks
> 
> Mike
> 
> ================================
> 
> Mike Silvers
> AS/400 Senior Programmer/Analyst
> AS/400 IBM Certified RPG IV Developer
> AS/400 IBM Certified Solutions Expert
> Hainey Business Systems
> 8 E. Canal St
> Dover, PA 17315
> Branch Office:  (410) 397-8739
> Phone:  (800) 932-3380
> Fax:  (717) 292-9474
> Web: http://www.hbs-inc.com
> ________________________________
> Providing E-Commerce, EDI, AS/400
> Development and related services
> nationwide.
> ================================
> 
> +---
> | This is the RPG/400 Mailing List!
> | To submit a new message, send your mail to RPG400-L@midrange.com.
> | To subscribe to this list send email to RPG400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

--
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.