The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to connect to sybase from Unix(AIX) sachin.gangadha Shell Programming and Scripting 0 11-27-2007 07:48 PM
Connect From VB to Sybase 11 Than Chanroeun SUN Solaris 2 08-18-2006 11:42 AM
Connect to sybase database using Korn shell script bhgopi Shell Programming and Scripting 7 08-10-2005 09:34 AM
Connect to a Remote Sybase Server Through Script. Aparna_k82 Windows & DOS: Issues & Discussions 2 06-23-2005 11:26 AM
Remote Connect - SCO Open Server jackpotp UNIX for Dummies Questions & Answers 2 05-23-2002 02:24 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-15-2005
Aparna_k82 Aparna_k82 is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 7
Connect to a Remote Sybase Server Through Script

Hi all,
I am trying to connect to Remote Sybase database Server through shell script. I am operating on WindowsXP, connect to Unix(version SunOS: 5.8)
The thing is i dont know how to connect to Sybase Server through my script file?
Are there any manual pages which can guide me through the process???

Thanks In advance
Appu
  #2 (permalink)  
Old 02-16-2005
Aparna_k82 Aparna_k82 is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 7
Hi all,
Pls, can anyone guide me to find the man pages atleast. i dont know how to get connected to sybase through script.

would really appreciate for ur reply.

Appu.
  #3 (permalink)  
Old 02-16-2005
tmarikle tmarikle is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2005
Posts: 683
Quote:
Originally Posted by Aparna_k82
Hi all,
I am trying to connect to Remote Sybase database Server through shell script. I am operating on WindowsXP, connect to Unix(version SunOS: 5.8)
The thing is i dont know how to connect to Sybase Server through my script file?
Are there any manual pages which can guide me through the process???
Appu
Here is a Sybase FAQ that should help. This section talks about connecting to Sybase (ASE). You'll probably want to read more sections as well.


Incidently, isql is the utility that you'll probably use.
  #4 (permalink)  
Old 02-17-2006
DebianJ DebianJ is offline
Registered User
  
 

Join Date: May 2005
Posts: 52
to connect to sybase you can use isql from your unix script, or odbc if you are programming in c o perl.
the isql syntax is like this:

#!/bin/ksh
DOWN()
{
isql -b -U$user -P$password -S$server -o$output <<END
go
go
sql statement
go
END
}

user=xxxxxx
password=yyyy
server=zzz
DOWN

anyway you can search for isql in this forum..
bye.
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 On




All times are GMT -4. The time now is 01:20 AM.


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-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0