If we take this definition as R.E. set definition (Computability, Complexity and Languages book written by Davis in page 79
)
$Definition.$The set $B\subseteq N$ is called r.e. if there is partially computable function $g(x)$ such that
$B = \{x \in N | g(x) \downarrow\}$
Halting problem is set of $(x,y)$ which program with number $y$ halts on $x$, I really can't understand when there is no program for Halting problem then what $g(x)$ is going to be applied for it?