DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦792507c46⟧ TextFile

    Length: 3597 (0xe0d)
    Types: TextFile
    Names: »B«

Derivation

└─⟦25882cbde⟧ Bits:30000536 8mm tape, Rational 1000, RCI_RS6000_AIX_IBM 2_0_2
    └─ ⟦b8efda8ac⟧ »DATA« 
        └─⟦7061b4ee8⟧ 
            └─⟦this⟧ 

TextFile

with Log;
with Operational_Characteristics;
with Profile;
with Program;
with Rci_Customization;
with Rci_Customization_Interface;
with Semantic_Characteristics;
with Simple_Status;  
with Telnet_Characteristics;
with Universal;

package body Rs6000_Aix_Ibm is

    package Op renames Operational_Characteristics;
    package Tc renames Telnet_Characteristics;
    package Sc renames Semantic_Characteristics;
    package Predefined renames Sc.Predefined_Environment_Characteristics;
    package Pragmas renames Sc.Pragma_Characteristics;
    package Attributes renames Sc.Attribute_Characteristics;
    package Rep_Specs renames Sc.Rep_Spec_Characteristics;
    package Rci renames Rci_Customization_Interface;
    package Ss renames Simple_Status;
    package Checking renames Sc.Checking;
    package Text renames Sc.Text;

    T_Name : constant String := "Rs6000_Aix_Ibm";

    The_Operation_Mode : Op.Operation_Mode := Op.Interactive;
    -- Th edefault operation mode is the interactive mode

    function Get_Transfer_Type return Op.Transfer_Type is separate;
    function Get_Pragma_Info return Pragmas.Object is separate;
    function Get_Rep_Spec_Info return Rep_Specs.Object is separate;
    function Get_Predefined_Info return Predefined.Object is separate;
    function Get_Attribute_Info return Attributes.Object is separate;
    function Get_Operational_Info return Op.Object is separate;
    function Get_Telnet_Info return Tc.Object is separate;


    procedure Register (Batch_Mode : Boolean := False;
                        Allow_Standard_Rebuild : Boolean := False) is

        Status : Simple_Status.Condition;

        function Operation_Mode return String is
        begin
            if Batch_Mode then
                return "_batch";
            end if;  
            return "";
        end Operation_Mode;

    begin
        Rci.Initialize (T_Name, Status);
        if Ss.">" (Ss.Severity (Status), Ss.Normal) then
            Log.Put_Line (Ss.Name (Status), Profile.Warning_Msg);
            if Ss.">" (Ss.Severity (Status), Ss.Warning) then
                return;
            end if;
        end if;

        if Batch_Mode then
            The_Operation_Mode := Op.Batch;
        end if;
        -- Override the default operation mode

        Rci_Customization.Register
           (Target => T_Name,
            The_Operational_Characteristics => Get_Operational_Info,
            The_Predefined_Environment_Characteristics => Get_Predefined_Info,
            The_Pragma_Characteristics => Get_Pragma_Info,
            The_Attribute_Characteristics => Get_Attribute_Info,
            The_Rep_Spec_Characteristics => Get_Rep_Spec_Info,
            The_Telnet_Characteristics => Get_Telnet_Info,
            Allow_Standard_Rebuild => Allow_Standard_Rebuild);

        Program.Run_Job
           ("""!targets.implementation.RCI_customization.rs6000_aix_ibm'view.units""" &
            ".register_all_extensions(""" & T_Name & """);",
            Context =>
               "!targets.implementation.RCI_customization.rs6000_aix_ibm'view",
            Options => "Name => " & "RCI_Rev2_0_2_Rs6000_Aix_Ibm_" &
                          Operational_Characteristics.Transfer_Type'Image
                             (Get_Transfer_Type) &
                          Operation_Mode & ", output => !machine.error_logs." &
                          T_Name & "_extensions_log");

    exception
        when others =>
            Log.Put_Line (Message => "Register completed with Errors.",
                          Kind => Profile.Error_Msg);
    end Register;

end Rs6000_Aix_Ibm;