EN
We study the electronic structure of the hexagonal DyCo_5 and DyCo_3B_2 compounds. The magnetic moments and the band structures were calculated by ab initio self-consistent tight binding linear muffin-tin orbital method within the atomic sphere approximation. These compounds crystallize in a hexagonal structure having the P6/mmm space group. The substitution of cobalt by boron atoms changes the local environment of remaining Co atoms and leads to the decrease in the local magnetic moments as well as in the Curie temperature.