Hi Bill, I see the problem, It looks like the exit oget 'tcpx_2' tcpx2 lines were concatinated to the end of the od command. Since I wasn't sure what was being done, I just copied and pasted. I will try again tommorow, and see what happpens.
Thanks for your help Gadi ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bill Godfrey [yak36...@yahoo.com] Sent: 24 February 2014 16:34 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Convert Tcp/IP translate tables from binary to source I was able to reproduce your problem with the "e" characters. If this command (which is what I wrote): od -An -tx1 -j256 xlbin_2 | tr -s ' ' >tcpx_2 was entered with an "e" after the quotes, like this: od -An -tx1 -j256 xlbin_2 | tr -s ' ' e >tcpx_2 or with a string beginning with "e", like this: od -An -tx1 -j256 xlbin_2 | tr -s ' ' exit >tcpx_2 then consecutive spaces will be reduced to one space and the one space will be changed to an "e". A simple demonstration: echo " 01 02 03" | tr -s " " 01 02 03 echo " 01 02 03" | tr -s " " e e01e02e03 echo " 01 02 03" | tr -s " " exit e01e02e03 It looks like you may have run the command a little differently than the way I gave it to you. Maybe my message got mangled in transit to you. It looks intact on the IBM-MAIN web interface. Bill On Mon, 24 Feb 2014 15:42:06 +0200, Gadi wrote: >I see the e in the first character on every line and then between each pair of >hex characters > >The first line looks like this: >e00e01e02e03e37e2De2Ee2Fe16e05e25e0Be0Ce0De0Ee0F > >Gadi -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Bill Godfrey Sent: Monday, February 24, 2014 3:32 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Convert Tcp/IP translate tables from binary to source Out of curiosity, exactly where do you see the lowercase letter e? Is it on a separate line, or between the hex numbers on each line? Or are you referring to the file produced by CONVXLAT? I tested it with TCIP.STANDARD.TCPXLBIN, and it looks ok on my system. I also ran CONVXLAT with the resulting file and it produced an identical binary table. Bill On Mon, 24 Feb 2014 15:10:06 +0200, Gadi wrote: >It's not perfect (I see the lowercase letter e between the entries), but it's >something I can work with. >Thanks. >Gadi > >-----Original Message----- >From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] >On Behalf Of Bill Godfrey >Sent: Monday, February 24, 2014 12:26 PM >To: IBM-MAIN@LISTSERV.UA.EDU >Subject: Re: Convert Tcp/IP translate tables from binary to source > >On Mon, 24 Feb 2014 09:06:11 +0200, Gadi wrote: > >>Hi, >> >>I need to convert a customized binary version of a TCP/IP translation table >>to the source version. >> >>Is there a way to do this? >> >>I know that the CONVXLAT program will do the reverse. >> >>Thanks >> >>Gadi > >If it is an SBCS table named prefix.WHATEVER.TCPXLBIN: > >(from ISPF 6 or TSO READY) > >oput whatever.tcpxlbin 'xlbin_2' binary >omvs >od -An -tx1 -j256 xlbin_2 | tr -s ' ' >tcpx_2 >exit >oget 'tcpx_2' tcpx2 > >(there is a space between the 2 quotes after tr -s) > >(cleanup: in omvs remove xlbin_2 and tcpx_2) > >The sequential data set tcpx2 will contain source suitable for CONVXLAT. > >There will be a blank line at the end of tcpx2, but it is harmless. > >Bill ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN לשימת לבך, בהתאם לנהלי חברת מלם מערכות בע"מ ו/או כל חברת בת ו/או חברה קשורה שלה (להלן : "החברה") וזכויות החתימה בהן, כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשי החתימה של החברה, הנושא את לוגו החברה או שמה המודפס ובצירוף חותמת החברה. בהעדר מסמך כאמור (לרבות מסמך סרוק) המצורף להודעת דואר אלקטרוני זאת, אין לראות באמור בהודעה אלא משום טיוטה לדיון, ואין להסתמך עליה לביצוע פעולה עסקית או משפטית כלשהי. Please note that in accordance with Malam and/or its subsidiaries (hereinafter : "Malam") regulations and signatory rights, no offer, agreement, concession or representation is binding on the Malam, unless accompanied by a duly signed separate document (or a scanned version thereof), affixed with the Malam seal. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN