How to control a null output in EMC storage?

I dont want to print the output in a EMC VMAX storage if it says "The specified device was not found", however it is not letting me do it.

I am trying to run this command:
symaccess -sid xxxx list -type storage -devs 1234

output:
The specified device was not found

I just want the script to do nothing when it encounters this output but continue when it is not. Please help. Thanks.

You can either check the exit code of symaccess (passed back to the script in $?) or test / suppress stderr if it is your undesired test.