hi,
You can make use of string operation SPLIT AT clause for achieving the same. The code may look like,
SPLIT <variable> AT ':' INTO l_hours l_minutes l_seconds after which l_hours will have the hour value, l_minutes with minutes value and l_seconds will have seconds value.
Hope it helps,
~Athreya