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

⟦0134d2ddc⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Reus, seg_00f331

Derivation

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

E3 Source Code



with Io;
with Log;
with Profile;
with Remote_Operations;
with Simple_Status;

procedure Reus (On_Host : String := ">>HOSTNAME<<";
                Response : String := "<VERBOSE>") is
    package Ro renames Remote_Operations;
    Context : Ro.Context;
    Status : Ro.Error_Status;
    Char : Character;
    procedure Check (Status : Ro.Error_Status) is
    begin
        if Simple_Status.Error (Status) then
            Log.Put_Condition (Status);
            raise Profile.Error;
        end if;
    end Check;
begin
    for I in 1 .. 2 loop
        Ro.Acquire (A_Context => Context,
                    Status => Status,
                    Machine => On_Host,
                    Instance => "");
        Check (Status);
        Ro.Execute (Command => "pwd",
                    In_Context => Context,
                    Status => Status,
                    Timeout => Remote_Operations.Wait_Forever);
        Check (Status);
        Ro.Release (A_Context => Context,
                    Status => Status,
                    Idle_Timeout => Remote_Operations.Default);
        Check (Status);
        Io.Put ("Go ahead? ");
        Io.Get (Char);
    end loop;

exception
    when Profile.Error =>
        null;
    when others =>
        raise;
end Reus;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=21 rec1=00 rec2=01 rec3=02a
        [0x01] rec0=0e rec1=00 rec2=02 rec3=000
    tail 0x2170bb9b0822a65d0f35d 0x42a00088462060003