TMF Management Programming Manual (G06.24+)

Commands and Responses
HP NonStop TMF Management Programming Manual522420-002
5-57
CLOSE RESOURCEMANAGER
CLOSE RESOURCEMANAGER
The CLOSE RESOURCEMANAGER command is an operator-initiated close (through
TMFCOM) of a recoverable resource manager.
After this command completes, the file system returns error 66 (FEDEVDOWN) if a
gateway process attempts to use the file number associated with the previous open of
any of the closed resource managers.
To continue processing transactions for a resource manager that has been closed by
an operator, the gateway process that opened it must programmatically close it, and
then the gateway process (or another gateway process) must programmatically
reopen it.
Command Syntax
Refer to the SPI Programming Manual for tokens present in the command and
response buffers but not described below.
Command
ZTMF-CMD-CLOSE
Object Type
ZTMF-OBJ-RM
Tokens in Command Buffer
ZTMF-TKN-RMNAME token-type ZSPI-TYP-STRING.
ZSPI-TKN-MAXRESP token-type ZSPI-TYP-INT.
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.
ZSPI-TKN-COMMENT token-type ZSPI-TYP-STRING.
Tokens in Response Buffer
ZTMF-TKN-RMNAME token-type ZSPI-TYP-STRING.
ZSPI-TKN-DATALIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.
ZSPI-TKN-RETCODE token-type ZSPI-TYP-ENUM.
ZSPI-TKN-ERRLIST token-type ZSPI-TYP-LIST.
...
ZSPI-TKN-ENDLIST token-type ZSPI-TYP-SSCTL.
ZSPI-TKN-CONTEXT token-type ZSPI-TYP-BYTESTRING.