Can someone please tell me how to get the actual value from a COMP variable in REXX? Can this be done using C2X built-in function? My requirement is, I need to read an input file which contains data in various format like COMP-3, COMP, ALPHANUMERIC. I need to change the actual values in the input file to someother values and then write it to an output file in the original format. I've read COMP-3 variable but don't know how to read a COMP variable and get the original value?