Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BARS/NARS

Status
Not open for further replies.

drifter56

Technical User
Nov 20, 2007
39
US
We made some changes to out trunking here that requires making some whole sale changes to our routing. I currently have several NPA's in the system that need to be taken out and then each individual NPA with the NXX need to be put back in so that each exchange can be routed propertly. Ex. 1909 needs to be taken out and then 1909 200 thru xxx, approx 570 exchanges put back in. We are on Succession 3.0, does anyone know of a script or application I can get to help make this easier?

Thanks,
 
are you sure you have to do that? Have you looked at ARRN?

Mato' Was'aka
 
i posted one here that does bars in ranges.. it would be easy enough to build one that take data from a comma delimited.. would that help?

john poole
bellsouth business
columbia,sc
 
Thank you both for the replies and suggestions. I will take a look at arrn to see if it can be used and will see if I can locate the program you spoke of.
 
if your running procomm i'll post a script

john poole
bellsouth business
columbia,sc
 
this one runs clean.. you need a file named npa.wud.. comma delimited.. you can save an excel as comma delimited, then paste that data into aspect editor.. then start this script, ld 90 new, 0, net, ac1 etc, as soon as the switch sends NPA .. the script will start running and keep running untill it gets to the end of you wud file
Code:
Proc main 
   
   
  	string npa
  	string rli
  	
   
   integer count
   string szline
   fopen 0 "npa.wud" read

   while not feof 0
   SZLINE = "1"
   fgets 0 szline

    strtok npa szline ","  1  
    strtok rli szline ","  1 
    
    
   set txpace 60
    waitfor "NPA  "
   transmit npa
   waitfor "RLI  "
   transmit rli
   waitfor "SDRR "
   transmit "^M"
   waitfor "ITEI "
   transmit "^M"    
   
  
    count += 2
   endwhile
   fclose 0
   fclose 1
   call main
   
   endproc

john poole
bellsouth business
columbia,sc
 
johnpoole, thanks for the code. I can get a copy of procomm to use and will give it a try.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top