In older surveys where information on ever use of contraception was collected, the information is stored in the v305 series of variables. In newer surveys where ever use of contraception is not collected, you can create a set of variables for whether the method was used at all in the calendar using code such as this:
foreach x in 0 1 2 3 4 5 6 7 8 9 L N W {
gen usedincal_`x' = 0
replace usedincal_`x' = 1 if strpos(vcal_1,"`x'")
}
This code creates a dichotomous variable for each method, coded 1 if the method was ever used in the calendar of the respondent.