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
Last revisionBoth sides next revision
jvs:fscan:manual:chapter2:connect [2012/01/20 16:55] voyvodicjvs:fscan:manual:chapter2:connect [2014/07/19 16:06] – [usage:] voyvodic
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.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1