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

⟦1671d523c⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Try, seg_00e661

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 Action;
with Cmvc_Implementation;
with Cmvc_Implementation_Errors;
with Io;
procedure Try is
    package Ci renames Cmvc_Implementation;
    package Dops renames Cmvc_Implementation.Database_Operations;
    package Cops renames Cmvc_Implementation.Configuration_Operations;
    package Eops renames Cmvc_Implementation.Element_Operations;
    package Vops renames Cmvc_Implementation.Version_Set_Operations;
    package Hops renames Cmvc_Implementation.History_Operations;
    package Iops renames Cmvc_Implementation.Iterator_Operations;

    Action_Id : Action.Id;
    Db : Ci.Database;
    Config : Ci.Configuration;
    Elt : Ci.Element;
    V_Set : Ci.Version_Set;

    Elt_Iter : Iops.Element_Iterator;
    V_Set_Iter : Iops.Version_Set_Iterator;

    Status : Cmvc_Implementation_Errors.Status;
begin  
    Action_Id := Action.Start (Task_Id => Machine.Get_Task_Id);
    Dops.Open
       (Db_Name => "!USERS.PAM.EXPERIMENT.NCMVC.TEST.STATE.CMVC_DATABASE",
        Action_Id => Action_Id,
        Db => Db,
        Status => Status);

    Cops.Open (Config_Name => "!Users.Pam.Experiment.Ncmvc.Test.Rev1_Working",
               Config => Config,
               Status => Status,
               Db => Db);

    --Iops.Initialize (Config => Config, Iter => Elt_Iter);
    Iops.Initialize (Db, Iter => Elt_Iter);

    while not Iops.Done (Elt_Iter) loop
        Elt := Iops.Value (Elt_Iter);

        Io.Put_Line (Item => Eops.Name_Of (Elem => Elt));
        Io.Put_Line ("   saves source = " &
                     Boolean'Image (Eops.Saves_Source (Elt)));


        Iops.Initialize (Elt, V_Set_Iter);

        while not Iops.Done (V_Set_Iter) loop
            Io.Put_Line ("   name = " & Vops.Name_Of (Iops.Value (V_Set_Iter)));  
            Io.Put_Line ("   external_name = " &
                         Vops.External_Name_Of (Iops.Value (V_Set_Iter)));
            Io.Put_Line ("   who checked out = " &
                         Hops.Who_Checked_Out (Iops.Value (V_Set_Iter)));
            Io.Put_Line ("   who checked in = " &
                         Hops.Who_Checked_In (Iops.Value (V_Set_Iter)));
            Io.Put_Line ("   history = " & Hops.Get (Iops.Value (V_Set_Iter)));

            Iops.Next (V_Set_Iter);
        end loop;

        Iops.Next (Elt_Iter);
    end loop;


    Action.Finish (The_Action => Action_Id,
                   Do_Commit => True,
                   Do_Inform => True);

exception
    when others =>

        Action.Finish (The_Action => Action_Id,
                       Do_Commit => True,
                       Do_Inform => True);
end Try;

E3 Meta Data

    nblk1=4
    nid=2
    hdr6=6
        [0x00] rec0=1c rec1=00 rec2=01 rec3=08a
        [0x01] rec0=1c rec1=00 rec2=03 rec3=00c
        [0x02] rec0=17 rec1=00 rec2=04 rec3=001
        [0x03] rec0=a6 rec1=ae rec2=cd rec3=000
    tail 0x2150a3362822164dc4aaa 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 00 ed 80 0b 6d 20 3d 3e 20 54 72 75 65 29  ┆      m => True)┆