roccomp expects the data to be in wide form when comparing areas
estimated from the same sample (correlated data) and in long form for areas estimated from independent samples.
In Stata Manual [R] roc, you'll find excellent examples (Example 3 and 4) of the use of roccomp on the same sample (correlated data) and on the independent samples.