Has always worked for me. Cut and paste the command you used that shows the ip addresses of your system instead of making up something to represent what you see. Then make sure you are seeing it all. Scroll right if you need to. Look for line wrap if you need to. Then replace just the first octet with xxx and get back to us.
On Thu, 6 Sep 2007 16:20:08 -0500, Clifford McNeill <[EMAIL PROTECTED]> wrote: >Raymond, > >I'm on z/OS 1.7 and my ip address also has a 2 digit last octet. I ran your >exec and it worked fine, returning the correct ip address. > >0 MYID 40 *INET >0 xxx.yyy.zzz.11 > >Cliff McNeill > > >>From: Raymond Noal <[EMAIL PROTECTED]> >>Reply-To: IBM Mainframe Discussion List <[email protected]> >>To: [email protected] >>Subject: Me thinks 'Chuckie' is afoot - >>Date: Thu, 6 Sep 2007 12:36:13 -0700 >> >>Ok, you network gurus; I've got one for you - >> >>The TCP/IP address of my z/OS 1.8 system is 111.222.333.11. (not really) >> >>When I run this REXX Exec - >> >>/* REXX */ >> >>SAY SOCKET('INITIALIZE','MYID') >> >>SAY SOCKET('GETHOSTID'); >> >>EXIT; >> >>The results are: >> >>0 MYID 40 *INET >>0 111.222.333.111 >> >>Why is the last octet coming back as '111' and not '11'? >> >>TIA >> >>HITACHI >> DATA SYSTEMS >>Raymond E. Noal >>Senior Technical Engineer >>Office: (408) 970 - 7978 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

