unset [--help] [[variable-name]*]
The unset subcommand removes one or more environment variables that you set for the multimode environment. After removal, the variables and their associated values will no longer apply to the multimode environment.
This subcommand is supported in local mode only.
Environment variable to be removed. To list the environment variables that are set, use the export subcommand without options. If no environment variables are listed, then you have not set any.
This example uses the export subcommand to view the environment variables that have been set.
asadmin> export AS_ADMIN_USER = admin AS_ADMIN_HOST = bluestar AS_ADMIN_PREFIX = server1.jms-service AS_ADMIN_PORT = 8000 Command export executed successfully
This example removes the AS_ADMIN_PREFIX environment variable.
asadmin> unset AS_ADMIN_PREFIX Command unset executed successfully