In a large heavy pot, cook the onions and ham in the vegetable oil over medium heat until onions are wilted, about five minutes. Add the cabbage, water, sugar, salt, cayenne and black pepper. Cover the pot and cook, stirring occasionally for about 30 minutes or until the cabbage is soft and tender. Yield: 6 servings.