Falta definir las siguientes variables globales:
glo_ID_SERVICIO; glo_ID_SALA;