i am getting the error as Error in the Syntax, when checked the Script again the user that i mentioned in the Script already exists, but when it already exists it should skip that and execute the rest of all commands but it is not doing.

Hello,
Remove 'echo off' to get more trace and see which line does cause failure,
it might also be a malformed end of line character.
I have also noticed a blank char in queue name 'repor t.LSESES'
this would cause syntax error for sure.
Francois

Copyright 1998-2015 Ziff Davis, LLC (Toolbox.com). All rights reserved. All product names are trademarks of their respective companies. Toolbox.com is not
affiliated with or endorsed by any company listed at this site.