Make sure you redefine without being signed as 9(9) COMP (or BINARY) and use the TRUNC(BIN) option.
Using a signed field or not having TRUNC(BIN) can cause odd results. -----Original Message----- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Joe Reichman Sent: Friday, April 16, 2010 11:29 AM To: IBM-MAIN@bama.ua.edu Subject: Arithmetic on COBOL usage is pointer I redefined a usage pointer to PIC 9(8) comp to do arithmetic and got weird results Are there any rules for doing math on Usage is pointer Sent from my iPhone ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html