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

⟦e9b910f74⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Make_Controlled, seg_00de07, separate Ncmvc_Server

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 (Ncmvc_Server)
procedure Make_Controlled (Stream : Transport_Stream.Stream_Id;
                           Id     : Rpc.Transaction_Id) is
    Client_Object_Name : constant String := Ti.Get_String (Stream);
    Client_Context     : constant String := Ti.Get_String (Stream);
    Server_Context     : constant String := Ti.Get_String (Stream);
    Client_Name        : constant String := Ti.Get_String (Stream);
    Server_Object_Name : constant String :=
       Ftp_Name_Map.Remote_To_Local (File_Name   => Client_Object_Name,
                                     Local_Roof  => Server_Context,
                                     Remote_Roof => "",
                                     Remote_Type => "unix");
begin
    Rpc_Server.Begin_Response (Stream, Id);  
    Ftp.Get (From_Remote_File   => Client_Object_Name,
             To_Local_File      => Server_Object_Name,
             Remote_Machine     => Client_Name,
             Username           => Username,
             Password           => Password,
             Account            => Ftp_Profile.Account,
             Remote_Directory   => Client_Context,
             Remote_Type        => Ftp_Profile.Remote_Type,
             Append_To_File     => False,
             Transfer_Type      => Ftp_Profile.Transfer_Type,
             Transfer_Mode      => Ftp_Profile.Transfer_Mode,
             Transfer_Structure => Ftp_Profile.Transfer_Structure,
             Send_Port          => Ftp_Profile.Send_Port_Enabled,
             Response           => Ftp.Profile_Get);
    Io.Echo_Line ("server_object_name =" & Server_Object_Name);

    Cmvc.Make_Controlled (What_Object            => Server_Object_Name,
                          Reservation_Token_Name => "<AUTO_GENERATE>",
                          Join_With_View         => "<NONE>",
                          Save_Source            => True,
                          Comments               => "",
                          Work_Order             => "<DEFAULT>",
                          Response               => "<PROFILE>");

    Ti.Put_String (Into => Stream,
                   Data => Client_Object_Name & " has been controlled");


end Make_Controlled;

E3 Meta Data

    nblk1=4
    nid=0
    hdr6=8
        [0x00] rec0=14 rec1=00 rec2=01 rec3=006
        [0x01] rec0=02 rec1=00 rec2=04 rec3=012
        [0x02] rec0=12 rec1=00 rec2=03 rec3=016
        [0x03] rec0=05 rec1=00 rec2=02 rec3=000
    tail 0x2170a9db6821a764dde80 0x42a00088462063203