User Tools

Site Tools


jvs:fscan:manual:chapter2:connect

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
jvs:fscan:manual:chapter2:connect [2012/01/20 16:55] voyvodicjvs:fscan:manual:chapter2:connect [2024/06/21 15:44] (current) – external edit 127.0.0.1
Line 38: Line 38:
    -connect name $connect_name    -connect name $connect_name
 </code> </code>
-To use this feature the default HOSTPORT should be predefinedas in the [[jvs:fscan:manual:chapter1:configfile|CONFIG]] file.+For exampleif you routinely connect to a DBAX database server, you could define 'connect_dbax' in your  [[jvs:fscan:manual:chapter1:configfile|CONFIG]] file as: 
 +    <uservarb name="connect_dbax">sagan.dhe.duke.edu:5570</uservarb> 
 +Then you could communicate with that server by simply using commands like: 
 +<code> 
 +   -connect dbax query "select subjid,exam,sex,age from exams" 2 examtable 
 +</code>
  
 **See Also:**\\ **See Also:**\\
jvs/fscan/manual/chapter2/connect.1327078500.txt.gz · Last modified: 2024/06/21 15:41 (external edit)