(go to: table of contents, index, list of vms_sys, prev: PROCESS_SCAN, next: READEF)
None
Arguments:
Examples:
PURGWS - Purge Working Set
Format:
28-SEP-1998 ZE.
vms_sys.purgws (start-addr, end-addr)
Returns:
Note: the original system service accepts one argument that points to two
longwords in memory. The Python function requires two separate arguments,
not one argument or a tuple.
>>> import vms_sys
>>> <CONTROL-T>
NODE::PRCNAM 19:06:29 PYTHON CPU=00:08:06.24 PF=101647 IO=7846 MEM=1201
>>> allocate_memory = range (50000)
>>> <CONTROL-T>
NODE::PRCNAM 19:07:13 PYTHON CPU=00:08:09.52 PF=103644 IO=7860 MEM=2886
>>> vms_sys.purgws (0,2147483647)
>>> <CONTROL-T>
NODE::PRCNAM 19:07:42 PYTHON CPU=00:08:09.93 PF=103850 IO=7867 MEM=331
^^^
>>> vms_sys.purgws ()
Traceback (innermost last):
File "<stdin>", line 1, in ?
TypeError: function requires exactly 2 arguments; 0 given
>>> vms_sys.purgws (1)
Traceback (innermost last):
File "<stdin>", line 1, in ?
TypeError: function requires exactly 2 arguments; 1 given
>>> vms_sys.purgws (1,None)
Traceback (innermost last):
File "<stdin>", line 1, in ?
TypeError: illegal argument type for built-in operation
>>>
(go to: table of contents,
index,
list of vms_sys,
prev: PROCESS_SCAN,
next: READEF)