Issue resolved. Within the sript the command needs to be keyed-in just like as you'd do it on the command line.  For example on command line: symrdf -g DG swap -noprompt Within the script: symrdf -g "${DG}" swap -noprompt.  Make sure no wrappers are around the command within the script. That turned out to be my problem.  thanks! --Asim;
Hello All --  When the command "symrdf -g DG swap -noprompt" gets executed from command line it performs the "swap" of personalities successfully. No issues. The "symrdf -g DG query" gets updated immediately.   However, when a bash shell script executes the command it appears the execution is occuring properly but the change doesn't take effect at all. Even though in the /var/symapi/log/symapi-110914.log file it shows the execution is successful. Also the "Return Code" from the command is "0" too. But when I do the query on the DeviceGroupI don't see the change. "R1s and R2s" stay where they were as before.  What am I missing which is causing the script not to make the change? What am I missing? Anyone experience this before? Please help. Thanks in advance.
symrdf -g DG swap -noprompt