Guardian Programming Reference Summary for pTAL and TAL

Procedure Calls Summary (D-F)
Guardian Programming Reference Summary for pTAL and TAL522631-001
5-9
DEFINERESTORE
Uses a saved version of a DEFINE in the users buffer to create an active DEFINE. If an
active DEFINE of the same name already exists, it can optionally be replaced. The
saved DEFINE can also be placed in the working set without its name.
info-word, INT:ref:1 output
<14:15> Indicates the type of the attribute:
0 = Optional
1 = Defaulted
2 = Required
error := DEFINERESTORE ( buffer
,[ options ]
,[ define-name ]
,[ checknum ] );
error, INT returned value
0 Successful.
2050 DEFINE already exists and options.<15> is 0 or options is omitted.
2051 DEFINE does not exist and options.<15> is 1.
2052 Unable to obtain file system buffer space.
2053 Unable to obtain physical memory.
2054 Bounds error on buffer, define-name or checknum parameter.
2055 Illegal attribute in saved DEFINE.
2057 DEFINE or working set is incomplete.
2058 DEFINE or working set is inconsistent.
2059 DEFINE or working set is invalid.
2066 Parameter missing.
2067 Attribute contained an illegal value.
2068 Saved DEFINE was of invalid CLASS.
2069 Attempt to add a DEFINE that does not fall under the current DEFMODE
setting.
2075 The value of option.<0:13> is not 0.
2077 The buffer or define-name parameter is in invalid segment.
2078 The buffer parameter does not contain a valid saved DEFINE.