ENABLE Reference Manual
THE GENERAL SERVER
Request Format
Table E-1. Transaction Codes
-----------------------------------------------------------------
| |
| Code Value Transaction |
| |
| |
| 0 OPEN |
| 1 READ |
| 2 UPDATE |
| 3 DELETE |
| 4 INSERT |
| |
-----------------------------------------------------------------
The first transaction that you request from the General Server
must be an OPEN to obtain FILE-NUMBER.
There is no close-file transaction. When all calling requester
programs have issued a close against the General Server process
(that is, have terminated), the General Server closes the files
and terminates. As long as any requester has the General Server
open, the General Server process continues executing and
maintains all data files open.
Table E-2 lists the fields in the General Server request
structure that apply to specific transactions.
Table E-2. Fields and Transaction Codes
-----------------------------------------------------------------
| |
| Field Name Transaction Codes |
| |
| |
| FUNCTION-CODE 1,4 |
| FILE-NAME all codes |
| FILE-NUMBER all codes |
| FILE-POSITION 1,2,3 |
| KEY-SPECIFIER 1,2,3 |
| COMPARE-LENGTH 1 |
| RECORD-LENGTH 0,2,3,4 |
| RECORD-AREA-LENGTH 0,1,2,3 |
| LOGICAL-KEY-LENGTH 1 |
| |
-----------------------------------------------------------------
E-8