Guardian Procedure Calls Reference Manual

deflen
output
INT .EXT:ref:1
is the length of the saved DEFINE in bytes.
option
input
INT:value
indicates whether the working set or an active DEFINE is to be saved:
are reserved and must be 0.<0:14>
save the current working set and name it define-name.1<15>
save the active DEFINE named by define-name.0
If option is omitted, then the active DEFINE named by define-name is saved.
Returned Value
INT
Outcome of the call:
Success.0
Syntax error in name.2049
DEFINE not found.2051
Unable to obtain file-system buffer space.2052
Not enough physical memory.2053
Bounds error on buffer, deflen, or define-name parameters.2054
DEFINE or working set is incomplete. A required attribute is missing.2057
DEFINE or working set is inconsistent. Two or more attributes have conflicting values. The checknum parameter
of the DEFINEADD procedure identifies the consistency check that failed.
2058
DEFINE or working set is invalid.2059
Parameter missing.2066
option.<0:14> is not 0.2075
User's buffer is too small.2076
buffer or define-name is in invalid segment.2077
An attempt to save the working set, but define-name is =_DEFAULTS and working set is not class DEFAULTS.2079
For other error values associated with DEFINEs, see the Guardian Procedure Errors and Messages
Manual.
Considerations
The DEFINE saved in buffer is in internal form. You should not modify it. If you change it
in any way, DEFINERESTORE might not be able to restore it.
If you are saving the working set, define-name may contain the name of an active DEFINE;
however, the active DEFINE is not saved. Instead, the working set is saved and is given
define-name as its name in the internal form.
286 Guardian Procedure Calls (D-E)