display-sp procedure