AS/400 HELP
“PHONE”
RPGIV To The Web With CGI


PHONE
displays a list of names and phone numbers from file PHONE in library
CGILIB using a web browser. You will need to set up a HTTP server (instance) to
use PHONE.
PHONE uses OPNQRYF to allow searching
within the name field.
The file PHONE in library CGILIB can be
maintained with STRDFU. I have included
the file as shown.
PHONE
was
developed at V5r1. This ‘effort’ came about after reading
the EXCELLENT Bradley V Stone ‘ eRPG ‘
book and articles by Jon Paris.
PC INSTRUCTIONS:
Download "PHONE” to your PC.
Go to a DOS session and enter the following;
FTP SYSTEM (system = your AS/400’s
name or IP address)
Enter a valid user id and password
CD QGPL
LCD C:\DIRECTORY (directory= the directory on your pc where you
downloaded “ phone.savf”
QUOTE
SITE NAMEFMT 1
BIN
PUT
CGILIB.SAVF
QUOTE RCMD
RSTLIB SAVLIB(CGILIB) DEV(*SAVF) SAVF(QGPL/CGILIB)
Note: If there is a security problem restoring all
objects with the command above, sign on
to your as/400 as Qsecofr and run RSTLIB
from the command line.
NOTE: If you want some help setting up the HTTP
server(s) email me