RCS installation and users guide

version 01.00.01 - December 2000

Software requirements

Java runtime environment

this is available from www.sun.com
This should be installed in
C:\Program Files\javasoft\jre\1.2\bin\

Java Comapi

this is available from www.sun.com

Installation

Install software:

mkdir temp
cd temp
download
unzip
execute: install.bat

Test basic install:

mr\rcs\bin\rcshello

Setup comapi:

move downloaded files to RCS:

copy win32com.dll c:\mr\rcs\comapi\
copy comm.jar c:\mr\rcs\comapi\
copy javax.comm.properties c:\mr\rcs\comapi\

configure comapi:

mr\rcs\comapi\setupcom.bat

Test COMAPI:

mr\rcs\bin\rctcom1

Regeneration HTML files

c:\mr\rcs\bin\rcshtml

Start RCSHTTP - RCS Web Information Server (new experimental version):

c:\mr\rcs\bin\rcshttp

Start Server:

c:\mr\rcs\bin\rcssvr

start test client:

c:\mr\rcs\bin\rcsic

RCS Users:

Version 0.0.8 does not allow definition of aditional users
users and roles are identical in version 0.0.8 and 1.0.1
User definitions
User nameDescriptiondefault password
SYSTEMUsed for starting / stopping systemIO2000RCS
ADMINSystem admin and securityIO2000RCS
ENGINEEROperatorIO2000RCS
GUESTonly browsing systemGUEST

RCS and SYSTEM commands

STATUS SYSTEM RELOAD
Reference information
CommandPriviledged usersdescriptionreturn messageErrors message
INFOallDescribes layoutSTATUS DEFINE msg
SYSTEM RELOADSYSTEMRestarts server - does not work in 0.0.8STATUS SYSTEM SYNTAX ERROR
LOGIN username passwordallused for loginSTATUS LOGIN userName AS userRoleSTATUS LOGIN ERROR
RCS USER username passwordADMINchange passwordSTATUS LOGIN userName AS userRole
RCS PASSWORD passwordall exept GUESTchange own passwordSTATUS RCS OKSTATUS RCS SYNTAX ERROR
SYSTEM RCS LOAD TABLE HEADER tablename filename.rcsSYSTEMload tabledefinition from fileSTATUS SYSTEM SYNTAX ERRORSTATUS SYSTEM SYNTAX ERROR
SYSTEM RCS LOAD TABLE DATA tablename filename.rcsSYSTEMload tabledata from fileSTATUS SYSTEM SYNTAX ERRORSTATUS SYSTEM SYNTAX ERROR
RCS SELECT colname FROM tabname ROW nnnSYSTEMGet one cell from cacheSTATUS RCS TABLE tablename COLUMN columnname n valueSTATUS RCS SYNTAX ERROR


Example use of datacache

SYSTEM RCS LOAD TABLE HEADER ENGINE sysengd.rcs
SYSTEM RCS LOAD TABLE DATA ENGINE engdef.rcs
RCS SELECT RRCOMPANY FROM ENGINE ROW 001
RCS SELECT REGNO FROM ENGINE ROW 001
RCS SELECT TYPE FROM ENGINE ROW 001
RCS SELECT MODELBUILDER FROM ENGINE ROW 001
RCS SELECT MODELNO FROM ENGINE ROW 001

1