interfacing admins data with the web tim travis city of lincoln
TRANSCRIPT
Interfacing ADMINS Data With Interfacing ADMINS Data With The WebThe Web
Tim Travis
City of Lincoln
http://cjis.ci.lincoln.ne.us:8080/web/aiug/
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
Why the Web?Why the Web?
• Perception. Its GUI• Public Accessible• Public Familiarity• Its Everywhere
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
Web Servers for OpenVMSWeb Servers for OpenVMSAXP VAX 5.5-2 6.0 6.1 6.2 7.1 7.2 7.3
CSWS x x x
OSU x x x x x x x x x
WASD x x x x x x x x x
Taken from presentation by Mark Daniels, Australia DECUS, 2002
Courtesy of Mark Daniels, Australia DECUS, July 2002
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
Web Server DistributionWeb Server DistributionDistribution Kit Installation
CSWS Internet PCSI VMS Product Install
OSU Internet ZIP Compile + Link
WASD Internet ZIP Compile and/or Link
Courtesy of Mark Daniels, Australia DECUS, July, 2002
DemoDemo
Demonstration courtesy of Clair Lindquist, Application Development
Manager for the City of Lincoln, Police Department
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
ADMINS Web InterfaceADMINS Web Interface
Browser Web Server TRANSREPORT
L$
ADMCGI.COM ADMLOG.COM APPLICATION.COM (lpd_demo.com)
SYS$OUTPUT
HTMLForm or URLString HTML
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
HTML FormHTML Form• <Form method=POST
action="HTTP://CJIS.CI.LINCOLN.NE.US:8080
/CGI-BIN/ADMCGI.COM">
• <Input type=hidden name="CGI" VALUE="WEB:[AIUG]LPD_DEMO.COM">
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
ADMCGI.COMADMCGI.COM• Assign ADM$TERM a dummy value• Set SYSLCK privilege for process• Run CGIUTL.EXE to convert HTML
FORM variables to DCL symbols• Call ADMLOG.COM to convert symbols to
L$ logicals• Call application DCL procedure pointed to
by hidden FORM variable
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
ADMLOG.COMADMLOG.COM• FORM variable symbols have “CGIUTL_”
prefix• URL string variable symbols have
“WWW_FORM_” prefix• Write symbols to temporary file. Read
symbols in from file and convert to L$ logicals
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
APPLICATION.COMAPPLICATION.COM• Set logical OPTION to “FVfcz” for
ADMINS Utilities• Call ADMINS Utilities to process L$
logical parameters
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
ReportReport• Use SO option to direct output to “Standard
Output” I.e. sys$output• Use “{}” instead of “<>” for html directives
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
REPORT$ENVREPORT$ENV• Create an environment file for report to
translate “{}” enclosed HTML directives to “<>”
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
TRANSTRANS• Single record dummy file using append
with RMO to update or insert records in data files and update indexes
• Access a preallocated file using the value of the key field(s), update the record,
and exit
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
Demo View 1Demo View 1
ADMINS International Users Group. Hilton Riverside. October 9-11, 2002
Demo View 2Demo View 2