A Sample dscp Session

From the UNIX command line run the dscp utility, this session opens the interfaces file driver, lists the entries in it and adds a server called SYBASE1, then lists again and quits, the interfaces file is 'mored' at the end to check that the entry exists.
thishost:/apps/sybase/openclient/10.0.4 >dscp
dscp

>> open interfaces  
ok
Session 1 InterfacesDriver>> list

Server objects found:
    sybase
    SYBASE

Session 1 InterfacesDriver>> add SYBASE1
Service: [SQL Server] 
Transport Type: [tcp] tli tcp
Transport Address: localhost 50001
Transport Type: [tcp] 
Transport Address: 
Security Mechanism [] : 
Added SYBASE1

Session 1 InterfacesDriver>> list 

Server objects found:
    sybase
    SYBASE
    SYBASE1

Session 1 InterfacesDriver>> quit
thishost:/apps/sybase/openclient/10.0.4 >more ../interfaces

sybase
        query tli tcp /dev/tcp \x000213880a800c160000000000000000
        master tli tcp /dev/tcp \x000213880a800c160000000000000000

SYBASE
        master tli tcp /dev/tcp \x00020fa07f0000010000000000000000
        query tli tcp /dev/tcp \x00020fa07f0000010000000000000000



SYBASE1
        master tli tcp /dev/tcp \x0002c3517f0000010000000000000000
        query tli tcp /dev/tcp \x0002c3517f0000010000000000000000

posted on 2004-06-09 12:50  馋宝宝  阅读(348)  评论(0)    收藏  举报

导航