Coat a small nonstick skillet with cooking spray; add margarine. Place over medium-high heat until margarine melts. Add onion and pepper; saute 2 minutes or until tender. Add corn and water to vegetables in skillet, stirring well. Cover, reduce heat, and cook 10 minutes, stirring frequently. Uncover and add pimiento and salt. Cook 1 to 2 minutes or until liquid is absorbed.