Hi Bernd,
as far as I understand the problem, you just have the antenna on your PC
without any Software.
And you want to write an PHP program, that sends the scanned data via
DTAQs to the as400.
This PHP program runs on the i5 webserver and is to be started via the
greenscreen.
So basically you have to write two programs, one that listens for DTAQ
entrys and writes them to the files.
And one PHP program, with just some input fields that sends the scanned
data to the DTAQ.
You just have to start the webbrowser on your PC via strpccmd and point it
to the PHP program on your as400 as Scott said.
Like this:
STRPCO
STRPCCMD PCCMD('start
http://www.google.com') PAUSE(*NO)
But i think it would be easier to just write an greenscreen app that does
all the work.
Just one displayfile, some scanning and then a function key to do the db
update.
- Martin
--
Thanks for your answers.
What I really want to do is bulk reading RFID chips with control over
the AS/400.
The scenario is as follows:
An antenna is plugged into the RS232 com port of a PC that reads the
chips.
I want to start the complete app from the AS/400 and take control over
the reading process from the AS/400.
The 'chip numbers' are key field of an LF on the AS/400. After the chips
are read an update to the database has to be made.
Thought I could do this via DTAQ support for PHP script but I want to
start the script that runs on the AS/400 (Zend) from the RPG program
that makes all error checks and the update.
Do you think this could work?
Bernd Dworrak
As an Amazon Associate we earn from qualifying purchases.