Page 1 of 1

How to get the actual value from a COMP variable?

PostPosted: Mon Nov 28, 2011 3:06 pm
by naveenkvetrivel
Hi,

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?

Thanks
Naveen

Re: How to get the actual value from a COMP variable?

PostPosted: Mon Nov 28, 2011 4:06 pm
by enrico-sorichetti

Re: How to get the actual value from a COMP variable?

PostPosted: Wed Dec 07, 2011 2:52 pm
by naveenkvetrivel
Enrico,

Sorry for this very very late reply. Thank you so much for sharing all the link, it was useful and I got the expected result.

Thanks
Naveen