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



Tom,

I don't think that you could do this. The QTEMP/library is tied to the
specific job and I believe that the I5_CMD job launches a new job for each
command or program call that is executed. So the job that you created the
QTEMP file in would end before your PHP script could access the data.

Why not make your program a stored procedure and pass back a dataset to the
PHP script? That would solve the initial problem as well as take your PHP
code one more step toward platform independence.

- Jeff


On Mon, Oct 5, 2009 at 5:41 AM, Tom Deskevich <
thomas.l.deskevich@xxxxxxxxxxxxx> wrote:

Can you read QTEMP on the i5 via a PHP script?
I have been fighting with how to load a subfile from an RPG program and
send
it to my php script without using ZEND 5250 bridge. My idea is to write the
subfile information to a physical file in QTEMP and read it in the php
script, maintaining the business logic in RPG.


Tom Deskevich
Infocon Corporation
Phone 814-472-6066
Fax 814-472-5019

--
This is the Web Enabling the AS400 / 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.