- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- open connection with informix
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2005 05:32 AM
тАО01-23-2005 05:32 AM
open connection with informix
iam new with hp-ux
i have hp-ux version 10.2 and database informix version 5.05
i want to execute a simple script containing insert statment.
but how can i establish connection with the database and execute this query?
thankx
kamal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2005 05:52 AM
тАО01-23-2005 05:52 AM
Re: open connection with informix
you can use dbaccess command as informix user.
ex:
dbaccess DB_NAME script.sql
(replace DB_NAME)
without arguments dbaccess will run in cursor-graphics mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2005 05:58 AM
тАО01-23-2005 05:58 AM
Re: open connection with informix
but i need to open a connection with database and execute my query from my script
not from user command prompt
how can i do it?
thankx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2005 06:25 AM
тАО01-23-2005 06:25 AM
Re: open connection with informix
I'am not sure what you want to do, what type
of script do you want to write ?
If you want simple shell script you can use
dbaccess command in syntax:
dbaccess DB_NAME insert.sql
where insert.sql has entries:
insert into ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2005 06:34 AM
тАО01-23-2005 06:34 AM
Re: open connection with informix
1-vi file1
2-i want to type in this file sql statment
i want when execute this file the sql statment executed without openinig the database in graphical mode.(without typing dbaccess)
(i want to make a simple script as any application working with database)
thankx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2005 08:29 AM
тАО01-23-2005 08:29 AM
Re: open connection with informix
just run dbaccess in this syntax:
dbaccess DB_NAME script.sql
there will be no graphical mode - this is syntax for scripting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2005 01:26 AM
тАО01-25-2005 01:26 AM
Re: open connection with informix
kamal