Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Howto capture data from rs232port andpull data into oracle database-9i automatically Post 302137149 by boss on Sunday 23rd of September 2007 01:46:24 AM
Old 09-23-2007
Howto capture data from rs232port andpull data into oracle database-9i automatically

Hi,
i willbe very much grateful to u if u help me out..

if i simply connect pbx machine to printer by serial port RS232 then we find this view:
But i want to capture this data into database automatically when the pbx is running.The table in database will contain similar to this view inthe below:
Date Time Ext CO Dial Number Ring Duration Acc code CD

-------------------------------------------------------------------------

03/30/02 04:12PM 201 10 7617707 00:00'22

03/30/02 04:12PM 166 01 7112786 00:01'26

i m using oracle 9i in windows2000 professional
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

unix script to export data from csv file to oracle database

Hello people, Need favour. The problem I have is that, I need to develop a unix shell script that performs recurring exports of data from a csv file to an oracle database. Basically, the csv file contains just the first name and last name will be dumped to an Unix server. The data from these... (3 Replies)
Discussion started by: vinayagan
3 Replies

2. Shell Programming and Scripting

Need shell script to extract data from oracle database

shell script (4 Replies)
Discussion started by: frns5
4 Replies

3. Shell Programming and Scripting

how to extract the data from database (oracle) and send the output as an .xls file?

Hi, How to extract the data from Oracle database and sent the output data to mails using mailx command with .xls attachement? Here i know how to connect the database using unix shell script and how to use the mailx command in UNIX script But i don't know how to use the .xls format file (i... (1 Reply)
Discussion started by: psiva_arul
1 Replies

4. Shell Programming and Scripting

HOWTO create in UNIX a Microsoft Excel-Sheet (with data from Oracle)

Hi HOWTO create in UNIX a Microsoft Excel sheet (with data from Oracle). At the moment I am making CSV files (using SQL statemens with || ';'), but search for more advanced formatting. Don't wish to use Perl. cheers (4 Replies)
Discussion started by: slashdotweenie
4 Replies

5. Shell Programming and Scripting

why do we need UNIX shell script to load data into Oracle database

Hello everyone, I am new to shell scripting/ loading data into a database. I want to load data into Oracle database using SQL loader. Can some one please explain why do we need unix shell script to load the data into the database? Also can someone please explain what has to be in that script?... (5 Replies)
Discussion started by: new_prog
5 Replies

6. Shell Programming and Scripting

Mask the Oracle Database Data

Hi, We have to mask the data that is coming from production environment to Non-production environment. The database is running in oracle platform. If anybody has generic scripts to achive this task,it would be great if that can be shared with me? Thank you, Jayaprakash. (10 Replies)
Discussion started by: bandaru_0810
10 Replies

7. Shell Programming and Scripting

Problems with fetching data from Oracle database

Here's a database query which looks up the NAME column of PRODUCT table SELECT NAME FROM PRODUCT ; And this query retrieves me the following output SUGAR COCOA HONEY WHEAT CABBAGE CAULI FLOWER Please note the last record CAULI FLOWER contains TWO blank spaces between the two words. ... (4 Replies)
Discussion started by: kumarjt
4 Replies
snprimedb,v0.3.8(8)					      System Manager's Manual					       snprimedb,v0.3.8(8)

NAME
snprimedb - feed the sn database. SYNOPSIS
snprimedb [-i] (no arguments) DESCRIPTION
snprimedb reads records from its standard input and enters them into the database. The database is appended to; if you want to start a new database, you would delete the database files .chain, .table, .newsgroup before running this program. The main purpose of snprimedb is to rebuild the ID database. Then its input is usually obtained from snscan. If the option -i is given, simply initialize the database files if they do not exist, and exit. Input lines are of the format newsgroup id serial where newsgroup is the newsgroup the article may be found in, id is its message id, and serial is the local serial num- ber of that article in that newsgroup. If newsgroup is the special name =junk, then the whole line is ignored. You will need to be root or the owner of /var/spool/sn to do this. BUGS
snprimedb does not check to see that the articles really exist. Also the size of the hash table is fixed at compile time. Under degenerate conditions, the hash table file .chain (see below) could grow very large, with reclaimed space remaining unused. This is due to the very simple file space allocator, which doesn't know how to coalesce adjacent free areas. It doesn't know how to split them either. The allocator assumes that the shape of the distribution of record lengths remains quite constant over time. The hash table database doesn't make any attempt to reduce its footprint. This should be acceptable, since the database is shared. ENVIRONMENT VARIABLES
SNROOT If this is set and is not empty, the value is used in place of /var/spool/sn, the default news spool directory. FILES
/var/spool/sn/.table snprimedb uses this file as the index of the hash table, and ... /var/spool/sn/.chain as the hash chains, and ... /var/spool/sn/.newsgroup to attach an integer identifier to each newsgroup name. This file is a human-readable flat text file. N.B. Harold Tay snprimedb,v0.3.8(8)
All times are GMT -4. The time now is 05:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy