Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (D-F)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
5-11
DEFINESAVEWORK[2]
DEFINESAVEWORK saves the DEFINE working set in the background set.
DEFINESAVEWORK2 allows a second background working set to be saved.
2053 Not enough physical memory.
2054 Bounds error on buffer, deflen or define-name parameters.
2057 DEFINE or working set is incomplete.
2058 DEFINE or working set is inconsistent.
2059 DEFINE or working set is invalid.
2066 Parameter missing.
2075 The value of option.<0:14> is not 0.
2076 User’s buffer is too small.
2077 The buffer or define-name parameter is in invalid segment.
2079 An attempt to save the working set, but define-name is DEFAULTS and
working set is not class DEFAULTS.
define-name, STRING .EXT:ref:24 input
buffer, INT .EXT:ref:* output
buflen, INT:value input
deflen, INT .EXT:ref:1 output
option, INT:value input
<0:14> are reserved and must be 0.
<15> 1 save the current working set and name it define-name.
0 save the active DEFINE named by define-name.
error := DEFINESAVEWORK;
error := DEFINESAVEWORK2;
error, INT returned value
0 Successful.
2052 Unable to obtain file-system buffer space.
2053 Not enough physical memory.