Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google site



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-13-2008
Registered User
 

Join Date: Oct 2008
Posts: 39
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?
Sponsored Links
  #2 (permalink)  
Old 11-14-2008
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
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 (permalink)  
Old 11-14-2008
Registered User
 

Join Date: Oct 2008
Posts: 39
I am using IMS-Forte in Unix, I mean is possible to write a script to access this software database.
  #4 (permalink)  
Old 11-16-2008
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
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...

Question about excutable software in Unix
  #5 (permalink)  
Old 11-17-2008
Registered User
 

Join Date: Oct 2008
Posts: 39
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 (permalink)  
Old 11-18-2008
 

Join Date: May 2008
Location: Sydney, Australia
Posts: 1,009
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Querying database from unix ragavhere Shell Programming and Scripting 3 06-02-2008 10:48 AM
DiskSuite 4.2.1 Database creation question ruger14 Solaris 2 02-06-2007 05:32 PM
Read SQL database from Unix... uptheposh UNIX for Dummies Questions & Answers 0 06-17-2005 07:27 AM
Unix Database Briga UNIX for Dummies Questions & Answers 3 02-08-2004 03:22 AM
unix has it's own database IRFI_P Programming 4 04-18-2002 05:30 PM



All times are GMT -4. The time now is 07:26 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0