Previous Topic

Next Topic

STATEMGR command line arguments

Command line argument


/R or –R

This argument reads the state of the environment variable defined by [EVNAME]. The value of the environment variable is returned as a return code.

/W or -W

This argument writes the state defined by [VALUE] to an environment variable defined by [EVNAME].


This argument creates an environment variable used to represent the state to manage. The variable can be any word that is eight characters or less.


This argument is used only with the /W or -W arguments to indicate the value of the environment variable to maintain. [VALUE] is limited to integers between 0 and 254. If no value is provided when using /W or -W, the state environment variable is cleared.


This argument displays help information.