Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (O-Q)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
7-49
PROCESSTIME
(Superseded by PROCESS_GETINFO_ and PROCESS_GETINFOLIST_) Returns the
process execution time of any process in the network.
PROGRAMFILENAME
(Superseded by PROCESS_GETINFO_ and PROCESS_GETINFOLIST_) Obtains the
name of the calling process’s program file.
PURGE
(Superseded by FILE_PURGE_) Deletes a disk file that is not open. This procedure
operates only on Guardian objects.
process-time := PROCESSTIME ( [ cpu,pin ]
,[ sysid ] );
process-time, FIXED returned value
-1F The process does not exist.
-2F The system is unavailable or does not exist.
>=0F PROCESSTIME was successful.
cpu,pin, INT:value input
sysid, INT:value input
CALL PROGRAMFILENAME ( program-file );
program-file, INT:ref:12 output
CALL PURGE ( filename );
filename, INT:ref:12 input
< (CCL) The purge failed (call FILEINFO). However, in the case of a disk free-space
error, the file is purged, and an error returns.
= (CCE) The file purged successfully.
> (CCG) The device is not a disk.