Guardian Programming Reference Summary for pTAL and TAL
Guardian Programming Reference Summary for pTAL and TAL—522631-001
5-1
5
Procedure Calls Summary (D-F)
This section lists procedure calls in alphabetic order and briefly describes the syntax of
each. For additional information about the procedure calls, refer to the Guardian
Procedure Calls Reference Manual.
DAYOFWEEK
Takes a 32-bit Julian day number and returns the corresponding day of the week.
DEALLOCATESEGMENT
(Superseded by SEGMENT_DEALLOCATE_) Deallocates an extended data segment
when the segment is no longer needed by the calling process.
day := DAYOFWEEK ( julian-day-num );
day, INT returned value
julian-day-num, INT(32):value input
0 Sunday, 1 = Monday, ..., 6 = Saturday.
-1 The julian-day-num is negative.
CALL DEALLOCATESEGMENT ( segment-id ,[ flags ] );
segment-id, INT:value input
flags, INT:value input
<0:14> = Must be 0.
<15> = 1
= 0
Dirty pages in memory will not be copied to the swap file.
Dirty pages in memory will be copied to the swap file.
< (CCL) The segment is not deallocated. An illegal segment ID was supplied or the
specified segment is currently in use by the system.
= (CCE) The segment is deallocated.
> (CCG) The segment is deallocated, but an I/O error occurred when the dirty pages were
written to a segment’s permanent swap file.