In [1]:
help


  MDSDCL commands:
  @              - Execute a command script
  DEFINE         - Define a macro.
  DEFINE/SYMBOL  - Define an environment variable. (deprecated, use env)
  DELETE/MACRO   - Delete a defined command macro.
  DO/MACRO       - Execute a macro.
  ENV            - Define an environment variable.
  EXIT           - Exit the command interpreter utility. (same as QUIT)
  HELP           - Help on available commands.
  INIT TIMER     - Initialize a timer.
  QUIT           - Exit the command interpreter utility. (same as EXIT)
  SET COMMAND    - Load additional commands to interpreter.
  SET PROMPT     - Change the command prompt.
  SET STOPONFAIL - Specify whether command scripts or macros should stop on an error.
  SET VERIFY     - Turn command echoing on or off.
  SHOW MACRO     - Show the contents of a macro
  SHOW TIMER     - Show the timer information.
  SHOW VERSION   - Show MDSplus version information.
  SPAWN          - Execute a operating system shell command.
  syntax         - Basic syntax of mdsdcl commands.
  TYPE           - Print a message.
  WAIT           - Wait for a specified period of time.

  TCL (Tree Command Language) commands:
  TCL is used for MDSplus tree examination and manipulation. 
  TCL can be used to examine the tree structure, store data to or get data
  from nodes, examine or change node properties, or clean or compress the
  datafile associated with a tree. These commands are listed
  when you type:
  HELP TREE COMMANDS
  TCL can also be used for dispatching commands or actions to action servers
  or to directly execute actions or methods provided by devices described in
  the tree. For help on dispatching related commands type:
  HELP DISPATCH COMMANDS
  With TCL using edit commands you can create a new tree structure or modify
  an existing one by adding, deleting or renaming nodes and adding tagnames
  to give direct addressing of nodes in the tree. For edit commands type:
  HELP EDIT COMMANDS
  TCL can also issue and wait for MDSplus events. See:
  HELP WFEVENT and HELP SETEVENT

Type 'help command-name' for more info


In [4]:
env main_path=/usr/local/mdsplus/trees
set tree main
gub
show db



gub
mdsdcl: No such command
000  MAIN          shot: -1 [\MAIN::TOP]   


In [5]:
dir


\MAIN::TOP

 :MEMBER       :NUMERIC      :SIGNAL       :TEXT        

  CHILD         SUBTREE     

Total of 6 nodes.

In [7]:
type test


test

In [8]:
show server gub


Checking server: gub
Error connecting to server

In [ ]: