I would like to script a JSL command to close a branch of a display tree. My problem is, depending on circumstances, sometimes this branch will exist, and other times it will not. If the command to close the branch is sent, and that branch does not exist, the user gets an error. I imagine one possible solution is to write an IF statement to determine if the branch exists; if yes, close that branch; if no, ignore the that command and move on. Does anyone have any recommendations? I am using JMP9.