I had to do something similar long-long-ago.  The requirement was to 
validate that the address was a valid class A B or C, and did not fall 
into the private address (10. 172.16 192.168) range.  Perl was my savior.

I'm also curious.  :-)




From:
William Rentfrow <wrentf...@stratacominc.com>
To:
arslist@ARSLIST.ORG
Date:
03/19/2009 04:05 PM
Subject:
Re: Format IP Address
Sent by:
"Action Request System discussion list(ARSList)" <arslist@ARSLIST.ORG>



** 
I have to ask out of curiosity - WHY would you want to do that to IP 
addresses?  I'm not usually one to snoop...but I am curious....
 
William Rentfrow
Principal Consultant, StrataCom Inc.
wrentf...@stratacominc.com
Corporate Website, www.stratacominc.com
715-410-8156 C
 

From: Action Request System discussion list(ARSList) [
mailto:arsl...@arslist.org] On Behalf Of Jason
Sent: Thursday, March 19, 2009 11:27 AM
To: arslist@ARSLIST.ORG
Subject: Re: Format IP Address

** 
Make your IP field readonly. Add a small button next to it that opens a 
dialog with 4 separate fields. 1 for each octet. All it would take is 1 
active link to compose your IP Address field.

From: Guillaume Rheault <guilla...@dcshq.com>
To: arslist@ARSLIST.ORG
Sent: Thursday, March 19, 2009 4:43:14 PM
Subject: Re: Format IP Address

** 
Accomplishing this with ARS seems not trivial at all.
If it can be accomplished, it will look messy and cludgy.

My knee jerk reaction would be to find a shell or perl script that can 
accomplish this and call that script with a set fields $PROCESS$ or filter 
API. The perl archive is the first place I would look in: 
http://www.cpan.org

-Guillaume

-----Original Message-----
From: Action Request System discussion list(ARSList) on behalf of Nall, 
Roger
Sent: Wed 03/18/09 4:42 PM
To: arslist@ARSLIST.ORG
Subject: OT: Format IP Address

All,



ARS 7.01 p4

Oracle 10g

Solaris 9



We have a request to format data that is stored in a character field.
The data is standard IP addresses: xx.x.xx.xxx The idea is to make each
octet three characters by padding zeros. So the previous example would
look like: 0xx.00x.0xx.xxx. We are wondering if anyone has any
suggestions for doing this when the data is stored in one field.



Thanks,



Roger A. Nall
Manager, OSSNMS Remedy
T-Mobile, USA
Desk:972-464-3712 NEW

Cell: 973-652-6723
FAX:
sf49fanv AIM IM
RogerNall Yahoo IM




_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___
__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___
__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___ 


**********************************************************************
CONFIDENTIALITY NOTICE: 
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or use of 
the contents of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and notify 
us immediately at 262-703-7000.

CAUTION:
Internet and e-mail communications are Kohl's property and Kohl's reserves the 
right to retrieve and read any message created, sent and received.  Kohl's 
reserves the right to monitor messages by authorized Kohl's Associates at any 
time
without any further consent.

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Reply via email to