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

⟦4da59b073⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Generate_Context_Change_Command, seg_01c346, separate Batch_Extensions_Support

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



separate (Batch_Extensions_Support)
procedure Generate_Context_Change_Command
             (Host_File_Id : Io.File_Type;
              Current_Object : Directory.Object;
              Target_Key : String;
              Status : in out Simple_Status.Condition) is
    -- Generate a command to set context on the target

    Remote_Directory : constant Li.String_Result :=
       Li.Remote_Directory
          (Naming.Get_Full_Name (Du.Get_View (Current_Object, Profile.Get)),
           Profile.Get);
begin
    if Simple_Status.Error (Remote_Directory.Condition) then
        Log.Put_Line ("Error in getting remote directory name for unit " &
                      Naming.Unique_Full_Name (Current_Object),
                      Profile.Error_Msg);
        Status := Remote_Directory.Condition;
    end if;

    declare  
        Context_Command : constant String :=
           Tdi.Build_Context_Command (Target_Key, Remote_Directory.Result, "");
    begin
        if Context_Command /= "" then
            Io.Put_Line (Host_File_Id, Context_Command);
        end if;
    end;
end Generate_Context_Change_Command;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1a rec1=00 rec2=01 rec3=014
        [0x01] rec0=07 rec1=00 rec2=02 rec3=000
    tail 0x2171974fa836571b2df1a 0x42a00088462060003