473,408 Members | 1,763 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

RAP file processing

crazy4perl
Hi all,

Here is my query, I hav some RAP files (related to telecomm espcially Roamming) which when I m opening with any text editor showing some junk data. Is it possible to convert or read that file using script. if yes then how. pls let me know.
Feb 1 '08 #1
6 4446
eWish
971 Expert 512MB
I have not heard of this type of file before. Check out the TAP3::Tap3edit module at CPAN. Maybe it will do what you want.

--Kevin
Feb 1 '08 #2
I have not heard of this type of file before. Check out the TAP3::Tap3edit module at CPAN. Maybe it will do what you want.

--Kevin
Hey thanks alot this what i m looking for.
Feb 2 '08 #3
Hi,
Is it possible to use data dumper to dump data into a file????
Feb 6 '08 #4
Hi,
Anyone here knows here abt TAP and RAP files. actually i m able to process tap file using tap3edit module but when i m processing the rap file it is giving me following error.

decode error 5f840f<=>5f8135 26 4 rapFileSequenceNumber at C:/Perl/site/lib/Convert/ASN1/_decode.pm line 106.
at C:\pp\tap\tap_display.pl line 17

actually tap and rap files are the ASN1 format files. These files are generated when u make a call while roaming (tap) by the visited location network operator n sent to ur home n/w operator. if there is an error in the tap file a rap files is generated for the same and sent back to visited location network operator.


here is my peice of code:-

Expand|Select|Wrap|Line Numbers
  1. #!/usr/bin/perl
  2.  
  3. use TAP3::Tap3edit;
  4. use Data::Dumper;
  5. use XML::Dumper;
  6.  
  7. $Data::Dumper::Indent=1;
  8. $Data::Dumper::Useqq=1;
  9.  
  10. $filename=shift;
  11.  
  12. if ( ! $filename ) {
  13.     die "Usage: $0 filename\n";
  14. }
  15.  
  16. $tap3 = TAP3::Tap3edit->new();
  17. $tap3->decode($filename) || die $tap3->error;
  18.  
  19. print Dumper ($tap3->structure);
thanks
Feb 8 '08 #5
Nobody replied yet :((
Feb 11 '08 #6
Did you check tap3edit.com? there you can find a special version of Convert::ASN1 patched to solved that problem.

cheers
Mar 26 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Sure | last post by:
I my php script I call a perl script that perl script will create a log file From the php script I want to read the log file and write the output to the browser. This operation has to carried out...
18
by: Dino | last post by:
dear all, i've created an application for a customer where the customer can upload ..csv-files into a specified ftp-directory. on the server, a php-script, triggered by a cronjob, reads all the...
5
by: matt dittman | last post by:
I have created a windows service that reads emails from a drop directory and moves them to the appropriate mail folder every 15 seconds. I can move, rename and delete the files as needed, up...
8
by: Imran | last post by:
hello all, I have to parse a text file and get some value in that. text file content is as follows. ####TEXT FILE CONTENT STARTS HERE ##### /start first 0x1234 AC /end
6
by: Glenn Owens | last post by:
OK I'm on a steep learning curve with XML et.al. and need some advice. I'm writing a B2B front door for a new application. I have multiple data suppliers all sending various formats of flat...
5
by: Geoff Pennington | last post by:
My VB.Net app reads an Excel file, processes it one row at a time, and when processing is complete writes the row to a database. The typical file will have several thousand rows and may take a...
4
by: jesuraj | last post by:
Hi, how can i read input from a data file which contains binary or hex values. I have to use the exact binary data for further processing.only limited number of bits are taken form the file(64...
5
by: B. Williams | last post by:
I need some assistance with random access file processing. I have a function that I would like to change from sequential file processing to random access. Thanks in advance. void...
20
by: Johan | last post by:
How can I include one XML file into another XML file (on the client side, in Firefox)? I think XInclude is just what I need, but Firefox doesn't support it:...
6
by: ivan.perak | last post by:
Hello, im a beginner in VB.NET... The thing i would like to do is as it follows.... I have a text file (list of names, every name to the next line) which is about 350000 lines long. I would...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.