DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦bb9af8ba6⟧ Ada Source

    Length: 9216 (0x2400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, seg_04accf

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



WITH Transport_Date;
WITH Text_Io;
WITH Date_Service;
WITH Interchange;
WITH Transport_Interchange;
WITH Time_Utilities;
PACKAGE BODY Date_Server_1 IS

   PROCEDURE Process_Call (Stream  : Transport_Stream.Stream_Id;
                           Id      : Rpc.Transaction_Id;
                           Version : Rpc.Version_Number;
                           Proc    : Rpc.Procedure_Number) IS
   BEGIN
      CASE Proc IS
         WHEN Date_Defs.Proc_Number.Date =>
            DECLARE
               Answer : String (1 .. 29);
            BEGIN
               Answer := Date_Service.Date ("date");
               Rpc_Server.Begin_Response (Stream, Id);
               Transport_Date.Put (Stream, Answer);
               Text_Io.Put_Line (Answer);

            END;
         WHEN OTHERS =>
            RAISE Rpc.No_Such_Procedure;
      END CASE;
   END Process_Call;

   PROCEDURE Serve_Gets IS NEW Rpc_Server.Serve
                                  (Program => Date_Defs.Program,
                                   Supported => (0, Rpc.Version_Number'Last),
                                   Process_Call => Process_Call);
   PROCEDURE Serve (Connection : Transport.Connection_Id) IS
   BEGIN
      Serve_Gets (Connection);
   END Serve;
END Date_Server_1;

E3 Meta Data

    nblk1=8
    nid=4
    hdr6=4
        [0x00] rec0=20 rec1=00 rec2=01 rec3=04c
        [0x01] rec0=08 rec1=00 rec2=06 rec3=000
        [0x02] rec0=18 rec1=00 rec2=02 rec3=062
        [0x03] rec0=01 rec1=00 rec2=07 rec3=018
        [0x04] rec0=18 rec1=00 rec2=03 rec3=00e
        [0x05] rec0=00 rec1=00 rec2=06 rec3=00a
        [0x06] rec0=18 rec1=00 rec2=04 rec3=030
        [0x07] rec0=0e rec1=00 rec2=05 rec3=000
    tail 0x21547f9a086763f78bdef 0x489e0066482863c01
Free Block Chain:
  0x4: 0000  00 03 03 fc 80 2c 20 20 20 20 20 20 20 20 20 20  ┆     ,          ┆
  0x3: 0000  00 02 00 10 80 0d 3a 3d 20 44 61 74 65 5f 53 65  ┆      := Date_Se┆
  0x2: 0000  00 05 00 1b 00 18 20 20 20 20 20 20 20 20 20 20  ┆                ┆
  0x5: 0000  00 07 02 05 80 49 20 20 20 20 20 20 20 20 20 20  ┆     I          ┆
  0x7: 0000  00 08 00 0f 00 0c 20 20 20 20 20 20 20 20 20 20  ┆                ┆
  0x8: 0000  00 00 00 04 80 01 3e 01 02 00 00 00 00 01 7f ff  ┆      >         ┆