In a Data Block set up a variable of type DTL, use RD_SYS_T to copy system time into that block. The DTL data type is a structure of 12 bytes:
0 & 1 : Year
2 : Month
3 : Day
4 : Day of Week
5 : Hour
6 : Minute
7 : Second
8to11 : Nanoseconds
I only use non-symbolic DBs so it is easy for me to read any byte out of the structure. If DB2.DBX6.0 was the DTL structure then DB2.DBB5 is the byte that gives the hour.