The invention relates to novel heteroarylamide derivatives having formula (I)and N-oxides, stereoisomers and pharmceutically acceptable salts thereof, where RA, RB, R11, R’, R’’, z and X are as defined in the claims. The arylamide derivatives of formula (I) have antiandrogenic properties. The invention also relates to compounds of formula (I) for use as a medicament and to pharmaceutical compositions comprising them and to their preparation.本發明係相關於具有分子式(I)之雜芳醯胺衍生物以及其N-氧化物、立體異構物與藥學上可接受之鹽類,其中RA、RB、R11、R'、R''、z與X係如同申請專利範圍中所定義的。分子式(I)之芳醯胺衍生物具有抗雄激素性質。本發明亦相關於作為藥物用途的分子式(I)之化合物與相關於包含它們的藥學組成物以及相關於其製備。