I found the solution. I had to use the BRANCHL command instead of just the BRANCH.