TACL Reference Manual

UTILS:TACL Commands and Functions
HP NonStop TACL Reference Manual429513-018
8-59
DETACHSEG Command
If the CPU on which your TACL process is running fails while you are in the act of
detaching a private segment file, the segment file may be corrupted. Any future
attempts to attach that file will fail. You must purge it and re-create it.
Example
This command detaches the segment file that is attached to the directory variable
MYDIR:
25> DETACHSEG :mydir
Note. ATTACHSEG operates by pushing and defining a directory variable that refers to the
specified segment file; DETACHSEG operates by popping that directory variable. Because
#UNFRAME pops all variables pushed since the most recent #FRAME, if you attach a
segment file following a #FRAME, the corresponding #UNFRAME detaches the segment file;
its contents are no longer available. Subsequent attempts to invoke those contents result in
errors.