interfacing admins data with the web tim travis city of lincoln

15
Interfacing ADMINS Interfacing ADMINS Data With The Web Data With The Web Tim Travis City of Lincoln http:// cjis.ci.lincoln.ne.us:8080/ web/aiug/

Upload: dwain-chase

Post on 28-Dec-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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/

Page 2: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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

Page 3: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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

Page 4: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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

Page 5: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

DemoDemo

Demonstration courtesy of Clair Lindquist, Application Development

Manager for the City of Lincoln, Police Department

Page 6: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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

Page 7: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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">

Page 8: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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

Page 9: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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

Page 10: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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

Page 11: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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

Page 12: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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 “<>”

Page 13: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

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

Page 14: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

ADMINS International Users Group. Hilton Riverside. October 9-11, 2002

Demo View 1Demo View 1

Page 15: Interfacing ADMINS Data With The Web Tim Travis City of Lincoln

ADMINS International Users Group. Hilton Riverside. October 9-11, 2002

Demo View 2Demo View 2