Lawmakers are considering merging the agencies that operate South Carolina's prisons and the probation and parole functions.