Following is a response from DHS Research & Data Analysis Director, Tom Pullum:
The following lines will lead to table 19.11.1, after opening the IR file:
gen hita=.
gen hitb=.
gen hitab=.
replace hita=0 if s934a<.
replace hitb=0 if s934b<.
replace hitab=0 if hita==0 | hitb==0
replace hita=1 if s934a==1
replace hitb=1 if s934b==1
replace hitab=1 if hita==1 | hitb==1
tab v013 hita [iweight=v005/1000000], row
This would be repeated for hitb and hitab and other covariates. There are more elegant procedures for constructing the table but this is the basic coding. Similarly for men, to get table 19.11.2, using the MR file and sm620a/b.
I also get 4612 weighted cases rather than 4613. Don't worry about that discrepancy. The coding is correct.
The forum posting includes examples of merging the IR and MR files with the PR file. Such merges will put the child discipline variables onto the mother's or father's lines in the PR file. It will not link them to specific children.