Does anyone have a clever way of taking a left justified, space filled PIC X field that contains a number and moving it to an actual numeric field. I can do it byte by byte (which I have done many times in the past) but is there an easier way? In other languages, such as JAVA, this is easy; but I don't know of an easy way to do this in COBOL.
This was my first attempt at posting to any of the forums. I must say - VERY IMPRESSED! Perfect anwser forcing me to read the book and learn something new. Not surprisingly, the function works as documented. Many thanks.