|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Schedule_Shutdown, seg_028411
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Operator; with Log; with Time_Utilities; with Calendar; with Profile; procedure Schedule_Shutdown (At_Time : String := "23:59"; Reason : String := "COPS"; Explanation : String := "Cause not entered") is use Time_Utilities; T : Time; function Time_Ok return Boolean is use Calendar; begin if Convert_Time (T) < Clock then return False; else return True; end if; end Time_Ok; begin T := Value (At_Time); if Time_Ok then Operator.Shutdown_Warning (Interval => Duration_Until (T)); Operator.Show_Shutdown_Settings; Operator.Shutdown (Reason => Reason, Explanation => Explanation); else Log.Put_Line ("ERROR - Specification of a past time not allowed."); end if; exception when others => Log.Put_Line ("ERROR - Illegal Date/Time. Use YR/MO/DA HR:MIN:SEC form.", Profile.Error_Msg); end Schedule_Shutdown;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=23 rec1=00 rec2=01 rec3=054 [0x01] rec0=03 rec1=00 rec2=02 rec3=000 tail 0x2172234ee83c1720e4878 0x42a00088462065003