I move an ebcdic char (hex A8) to a pic x comp-x value h"0" field which returns it's decimal value 168. I need to convert this value, or any other 3 digit value back into a pic x ebcdic character.
I'm actually running my code on win2003 and the input I'm getting is from MVS mainframes. The "function char" sorted out my initial problem so now the only one I have left is getting confirmation that the data I receive is in fact what I originally thought it was.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.