To get “the hex representation of a variable” you would need to redefine it, as in
01 #H2 (A2)
01 REDEFINE #H2
02 #H2HEX (B2)
To get “the hex representation of a variable” you would need to redefine it, as in
01 #H2 (A2)
01 REDEFINE #H2
02 #H2HEX (B2)