TMF Management Programming Manual (G06.26+)
Commands and Responses
HP NonStop TMF Management Programming Manual—522420-003
5-59
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. 
Tokens in Command Buffer
ZTMF-TKN-RmName
specifies the name of the resource manager to be closed. This token must appear 
at least once in the command buffer, and can appear multiple times to close 
multiple resource managers. If multiple resource managers are being closed by a 
single command, the result of the operation is returned in a separate response 
record for each resource manager name.
Resource manager names can have a maximum length of 128 characters. The 
first character must be a letter, and the others can be alphanumeric or any of the 
following special characters: 
$ _ - ^ @ &
Command
ZTMF-CMD-Close
Object Type
ZTMF-OBJ-Rm
Tokens in Command Buffer
ZTMF-TKN-RmName token-type ZSPI-TYP-String.
Tokens in Response Buffer
ZTMF-TKN-RmName token-type ZSPI-TYP-String.










