Assigning an open string with monadmin create rm

The monadmin create rm command assigns each LRM a user name and password in the form of an open string. The user name and password allow the DTM XA Interface to control a particular connection’s access to Adaptive Server resources. See “Open string parameters for the DTM XA Interface” for more information about the contents of the open string.

The following shows sample screen contents of a monadmin create rm session:

echo "Creating connection_1 resource manager record"
monadmin delete rm connection_1 >>& demo_conf.log
monadmin create rm connection_1\
-open "-Usa -Psecret -Nconnection_1" \
-close "not used" >>& \
demo_conf.log
if ($status) then
echo "Failed to create lrm_1 resource mgr.";
exit 1;
endif

Your current version of Encina may have additional commands for specifying RMs. For detailed information, see the Encina Monitor System Administrator’s Guide and Reference.

NoteYou can use Encina enconsole interactive command instead of the shell monadmin command.