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 revision Previous revision
Next revision
Previous revision
jvs:fscan:manual:chapter2:connect [2012/01/20 16:55]
voyvodic
jvs:fscan:manual:chapter2:connect [2023/02/23 18:43] (current)
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: 2014/08/04 16:03 (external edit)