Question about database in Unix


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Question about database in Unix
# 1  
Old 11-13-2008
Question about database in Unix

I want to write a command file in Unix that can access database. what unix command can access database.
Actually, I installed software in SCO Unix, there is a database. but I want to access database without run this software in unix. How can I do?
# 2  
Old 11-14-2008
Your question is confusing. You want to write a command file in Unix, but you want to access the database without running this software in Unix??

What database software are you using?
# 3  
Old 11-14-2008
I am using IMS-Forte in Unix, I mean is possible to write a script to access this software database.
# 4  
Old 11-16-2008
Well, I can find no trace of such database software anywhere on the Internet; maybe it was something developed by the company you work for?

Did you try what Jim suggested in this thread? The path to the go command may give us some clues about the type of database. If it is a shell script try looking inside it as well to see if there is more information there...

https://www.unix.com/unix-dummies-que...ware-unix.html
# 5  
Old 11-17-2008
you right! 'go' is script, like

:
# GO

trap "" 2 3 15

cd $FORTE
pwd

[ $0 = go ] && echo "\033[=26h\c" # caps lock on

RUN -b 8 MS/MS.START

[ $0 = go ] && echo "\033[=26l\c" # caps lock off


Now I found a file can run query in this software without running 'go'
just key in
RUN filename.
But all database is stored in directory fxxxx, xxxx is variable define in script, when I run this filename to go in query prompt and key in some command here, it can't let me access, because it can't find database in directory /f, so the variable xxxx didn;t pass to file. So how can I pass the variable to the file and access the database.
# 6  
Old 11-18-2008
I'm sorry, I can't understand what you are saying... maybe if you show some more screen output showing what you are trying to do we can make more sense of it.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Is it possible to get the database details in UNIX?

Hi, Sorry i can't find what particular forum should i post my question. I was given a username and password for the database, but i was not given the hostname, SID and the port to were i can connect to with. Is there a way for me to get the following details in unix, by the way i am using... (5 Replies)
Discussion started by: reignangel2003
5 Replies

2. Shell Programming and Scripting

Database connectivity using unix

Hi, I am trying to connect to the database through Unix serer using following command- mysql -u root -Jepadt -D dtdatabase But it giving me error - mysql: unknown option '-J' Can anybody help me to solve this problm Thanks in advance Please use code tags, thanks. (2 Replies)
Discussion started by: pspriyanka
2 Replies

3. Solaris

Solaris Volume Manger - Database Replicas Question - Benefits of Increasing Default Size?

Hey all! I was hoping someone knew anything about this one... I know with Solaris Volume Manager the default Database Replica size is 8192 blocks (4MB approximately) Now I know you can increase this amount but is there any point? The reason I am asking this is that I've setup mirroring on... (2 Replies)
Discussion started by: Keepcase
2 Replies

4. Solaris

Oracle Database 10g installation question

I wanted to ask how do i assign the control files and archive log to be stored in different volume? I didn't come through any selection for that during the GUI installation. :) Thanks in advance for any reply. p/s: I will appreciate it also if anyone can provide me a link for me to go... (1 Reply)
Discussion started by: beginningDBA
1 Replies

5. SCO

Old SCO point of sale system database question

As a free lance computer consultant, I am working for a local store. They have an ancient point of sale (POS) system that has a server and several register machines, all running on a SCO unix. The system is at least 10 years old, maybe 15. The the POS vendor discontinued the product... (1 Reply)
Discussion started by: jgt10
1 Replies

6. Shell Programming and Scripting

Querying database from unix

Hi, I have a shell script to query the database to get the statistics of tables like sum,max,min,etc of all numeric columns,max and min of date columns and length of varchar columns for each and every table. There are nearly 1600 tables. My script queries few tables like about 100 tables and... (3 Replies)
Discussion started by: ragavhere
3 Replies

7. Solaris

DiskSuite 4.2.1 Database creation question

I'm trying to figure out how to simply create a 500Gb ufs file system named /rec using DiskSuite 4.2.1 on a Solaris 8 platform via command line using two 250Gb partitions on two different disks. Does anyone know what the proper command string and options are to perform this task? Would I use the... (2 Replies)
Discussion started by: ruger14
2 Replies

8. UNIX for Dummies Questions & Answers

Unix Database

Hi :) I'm a new unix user and i don't know much things about it.At the moment i've to make a work about unix databases.so i decided to come here and ask for help, if someone could tell me about a site or other mean where i can get some information about this i'll be pleased. Tanks for any... (3 Replies)
Discussion started by: Briga
3 Replies

9. UNIX for Dummies Questions & Answers

unix database server

hello , guys , im new to unix , just passed out my system admin certification from sun. i need to do few things at home , which are 1. ihave a unix box and windows box wired together using hub , i want to use internet from windows box . i have win98 ist edition , as well as win2000 server. kindly... (7 Replies)
Discussion started by: definate
7 Replies

10. Programming

unix has it's own database

Well I am new to Unix, I small doubt to clarify with our colloquies here. Does Unix any of the versions contains its own database or it stores data on the file system. How to migrate data in Unix to Oracle Data base is there any tool or utility available on Unix that helps to do this... (4 Replies)
Discussion started by: IRFI_P
4 Replies
Login or Register to Ask a Question