how to close a case filed in any consulate

Hello,

Generally if H1B visa not approved, they will be giving 221(g). How to close this file from administrative processing to closed state in consulate, if the petition is amended and going for stamping at other consulate. Please suggest.

Thanks

reddysree