Discussion:
HEX (TERM) to IP address
(too old to reply)
Jeffrey C Benson
2016-11-01 18:58:14 UTC
Permalink
Raw Message
All,

Does anybody has a sample HEX to IP address REXX code. TRANSLATE? Thanks.


Jeff
___________________________________________________________________________________________
Jeffrey C Benson | Mainframe Security, Corporate BTS, Security, & Risk
Guardian Life Insurance Company of America
7 Hanover Square 2nd Fl, New York, NY 10004
(212) 919-2613 |  (646-306-0090) Fax (212) 919-4248| | ***@glic.com




-----------------------------------------
This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.
Sokolsky, Hayim Z.
2016-11-01 19:10:18 UTC
Permalink
Raw Message
Written just for you Jeff

/* in REXX we trust */
parse arg a.1'.'a.2'.'a.3'.'a.4 .
do a# = 1 to 4
if a.a#="" then say 'octet' a# 'is missing'
if a.a#<0 | a.a#>255 then say 'octet' a# '-' a.a# 'invalid value'
end
say right(d2x(a.1),2,'0')right(d2x(a.2),2,'0')||,
right(d2x(a.3),2,'0')right(d2x(a.4),2,'0')
return



Hayim Sokolsky
Director, Senior Mainframe Security Architect
Security Architecture and Technology
Technology Risk Management
DTCC Tampa
Direct: +1 813 470-2177 | ***@dtcc.com



Visit us at www.dtcc.com or follow us on Twitter @The_DTCC  and on LinkedIn.
To learn about career opportunities at DTCC, please visit dtcc.com/careers.

Classification: DTCC Non-Confidential (WHITE)

The views I have expressed in this email are my own personal views, and are not endorsed or supported by, and do not necessarily express or reflect, the views, positions or strategies of my employer.

-----Original Message-----
From: TSO REXX Discussion List [mailto:TSO-***@VM.MARIST.EDU] On Behalf Of Jeffrey C Benson
Sent: Tuesday, November 01, 2016 14:58
To: TSO-***@VM.MARIST.EDU
Subject: [TSO-REXX] HEX (TERM) to IP address

All,

Does anybody has a sample HEX to IP address REXX code. TRANSLATE? Thanks.


Jeff
___________________________________________________________________________________________
Jeffrey C Benson | Mainframe Security, Corporate BTS, Security, & Risk Guardian Life Insurance Company of America
7 Hanover Square 2nd Fl, New York, NY 10004
(212) 919-2613 | È (646-306-0090) Fax (212) 919-4248| | ***@glic.com




-----------------------------------------
This message, and any attachments to it, may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are notified that any use, dissemination, distribution, copying, or communication of this message is strictly prohibited. If you have received this message in error, please notify the sender immediately by return e-mail and delete the message and any attachments. Thank you.
DTCC DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify us immediately and delete the email and any attachments from your system. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Loading...