Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (A-C)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
4-35
CONTIME
Converts a 48-bit timestamp to a date and time in integer form.
CONTROL
Performs device-dependent I/O operations.
CALL CONTIME ( date-and-time ,t0 ,t1 ,t2 );
date-and-time, INT:ref:7 output
[0] Year (1975, 1976, ... ).
[1] Month (1-12).
[2] Day (1-31).
[3] Hour (0-23).
[4] Minute (0-59).
[5] Second (0-59).
[6] 0.01 sec (0-99).
t0, t1, t2, INT:ref:3 input
CALL CONTROL ( filenum ,operation ,param ,[ tag ] );
filenum, INT:value input
operation, INT:value input
param, INT:value input
tag, INT(32):value input
< (CCL) An error occurred (call FILEINFO).
= (CCE) CONTROL was successful.
> (CCG) For magnetic tape, the end of file (EOF) was encountered while spacing records;
for a process file, the process is not accepting CONTROL system messages.
When device handlers do not allow the operation, file-system error 2 returns.
Note. CONTROL operations are summarized in Section 9, CONTROL Operations. CONTROL
operations used with the I/O devices are discussed in the Guardian Procedure Calls Reference
Manual.