The electronic structure of tetragonal (RC(N))m(TB)2, m=1−3, compounds, with R= Y,Lu,La, T=Ni,Pt is studied. Total and partial densities of states N(E) are calculated and compared with orbital resolved x-ray absorption data. Special attention is paid to the structure of N(E) near the Fermi-level and its consequences for thermodynamic properties in the superconducting and the normal states. A medium el-ph coupling constant 0.5≤λ≤ 1.2 is found. There is no simple correlation between N(0) and Tc. The analysis of the upper critical field reveals the presence of at least two groups of electrons with quite different Fermi velocities vFin accord with dHvA data, and with calculated distributions of vFaround the Fermi surface