Here is my "rmemc.ksh" script I use to remove all EMC devices (we use one DMX3000, one DMX 800, one CX600 and two CX700's as well as a number of Sharks). This script works for all EMC storage. Just remember to VARYOFF your VG's FIRST. Then do this:
#!/bin/ksh
powermt remove hba=all #...