The present invention relates to cyclic indole-3-carboxamides of the formula I,wherein A, R, R10, R20, R30, R40, n, p and q have the meanings indicated in the claims, which are valuable pharmaceutical active compounds. Specifically, they inhibit the enzyme renin and modulate the activity of the renin-angiotensin system, and are useful for the treatment of diseases such as hypertension, for example. The invention furthermore relates to processes for the preparation of the compounds of the formula I, their use and pharmaceutical compositions comprising them.本發明關於具式I之環狀吲哚-3-羧醯胺類,其中A、R、R10、R20、R30、R40、n、p及q具有如申請專利範圍中所述之意義,這類化合物為有用的藥學活性化合物。明確地說,它們抑制腎素之酵素並調節腎素-血管收縮素系統的活性,且有用於供治療例如高血壓之疾病。本發明尚關於製備式I化合物之方法、其用途及包含彼等之醫藥組成物。