HP MPE/iX 6.x Operating System manual To determine whether or not the listener job is running

Page 19

ODBCLink/SE Reference Manual

Preparing the Database Server

To determine whether or not the listener job is running:

On the HP3000 database server, enter:

SHOWJOB JOB=@J

The resulting display will besimilar to the following:

JOBNUM

STATE

IPRI

JIN

JLIST

SCHEDULED-INTRO

JOB NAME

#Jnnn

SCHED

8

10S

LP

12/ 6/00 4:00

ODBCLNSE,MANAGER.SYS

On the HP9000 database server, enter:

# ps -ef grep odbclnse

The resulting display will be something like this:

root

7223

1

0

15:37:15

?

0:00

/usr/bin/odbcse server

paw

7226

7223

0

15:40:56

?

0:00

/usr/bin/odbcse server

root

7238

7230

1

15:41:29

ttys2

0:00

grep odbcse

The first line shows the server running. The second line shows a user with a login of “paw” is using the server and the last line shows the command you just entered.

To stop the listener:

On the HP3000 database server, enter:

ODBCLNSE.ODBCSE.SYS STOP

Note: If there is a connection open when the stop command is issued the process will not be stopped. If you are not able to stop the listener in the normal way, or if you want to terminate active ODBC client sessions, you may abort the listener Job with the :ABORTJOB command

On the HP9000 database server, enter:

 

/usr/bin/odbcse/odbclnse stop

On HP-UX 9.x

/opt/allbase/bin/odbcse/odbclnse stop

On HP-UX 10.x and 11.x

Note that in Unix, the STOP command will prevent any new connections but will not affect connections that were active at the time the command was issued.

You may also use the following command to stop the listener. It is, however, strongly suggested that you use the “odbcse stop” command to stop the listener.

kill -16 “pid” where “-16" is the “siguser1" and “pid” is the process ID number

ODBCLink/SE

 

©M.B. Foster Associates Limited 1995-2000

9

Image 19
Contents ODBCLink/SETM Limitations on Warranties and Liability Additional features of DataExpress for Client-Server are ODBCLink/SE offers the following featuresSales@mbfoster.com If you require any of the following features Page Page Table of Contents Using ODBCLink/SE With Odbc Applications Appendix B Creating a DBEnvironment Page Overview and Specifications Server Environment Connecting LinkOdbc Compliancy Level Client EnvironmentMicrosoft Odbc Overview Client Requirements ODBCLink/SE System RequirementsHP3000 Server Requirements HP9000 Server RequirementsField types supported SQL Commands supportedPage Exit Verify Software Version NumbersVerify the Connection Assurance Parameters $sqlverTo start the listener on the HP9000 database server, enter F1 Open ConfigStarting and Stopping the Listener To start the listener on the HP3000 data base server, enterTo stop the listener To determine whether or not the listener job is running# ps -ef grep odbclnse Create the DBEnvironment Gather InformationDownloading ODBCLink/SE to the Client PC Using Reflection softwareUsing NS Services Dscopy on the HP3000 Using Arpa Services FTP\ODBCSEnn ftp Server binary Get odbcclnn odbcclnn.exe quit Extracting the ODBCLink/SE file Running the Setup programSelect Next ODBCLink/SE Foster Associates Limited Page Page ODBCLink/SE Configuring Data Sources Scroll down to ODBCLink/SE-32 Driver ODBC3. Click Finish MPE/iX if it is an HP3000 HP-UX if it is an HP9000 Usr/users/data/PartsDBESetup for MPE/iX Setup for HP-UX Setup Options Successful Completion Select Translator Odbc TranslatorMigrating HP Pcapi Data Sources Application Development ?=call owner.procedue ?,? Using Stored ProceduresPerformance Considerations Turning AutoCommit On/Off Supported Functions Timeout =ON default 0=OFF=All Rows default =No Timeout default Use AllbaseIsolation Levels Sqldecimal Supported Data TypesDate Sqldate Page Updating Data Using ODBCLink/SE With Odbc ApplicationsUsing Cognos Impromptu Viewing the SQL generated by Impromptu Special Notes for Users of ImpromptuChanging the display format JoinsException tables Joined=T Column3 = .column1 + .Column2 Creating Joins Using Calculated ColumnsDN=@ODBC@ DL=@DLODBC@ DD=@All Odbc Sources@ Using Lotus 123 ReleaseUsing Microsoft Access ODBCLink/SE ODBCLink/SE Foster Associates Limited Using MS-Query ODBCLink/SE Foster Associates Limited Using Visual Basic 4.0 or higher Connection Examples Connect Using SQL APIConnect Using Sqlapi in VB Example DSN=YOUR DSNUID=USERPWD=PASSWORDODBCLink/SE ODBCLink/SE Foster Associates Limited Open the Table and Enter the SQL Query Connecting with DAO’sConnecting with RDO’s Connecting with ADO’s Terminating an Odbc Connection TroubleshootingTo run ODBCTE32.EXE Using Microsoft Odbc Test 32-bitVerifying the Client-Side Components Verifying Software Version NumbersDeleting a Translation DLL ODBCLink/SE Reference Manual Troubleshooting Checking the Listener Log File on the HP3000 Using the Host Testing Utility OdbcutseTools on the Database Server Monitoring ALLBASE/SQL Activity with SqlmonDisplay tables and table structures SQL UpdateExecute immediate SQL command Execute stored procedureHost Logging Odbc Call Tracing using Dr. DeeBee Spy Odbc Call Tracing using ODBCLink.LOGTools on the Client PC Log is located in C\WINDOWS\DRDEEBEE.LOG To turn off loggingModifying the System Registry and ODBC.INI Files Comes from the Winsock driver Error MessagesGenerated by the ALLBASE/SQL command interpreter Generated by the 32-bit client DLLInsert Into Table Values ..., Blob %$ Primary key name returned by SQLStatisticsReading or writing to ALLBASE/SQL LongVarBinary items Maximum number of statementsALLBASE/SQL and IMAGE/SQL Restrictions on the Odbc Gram- mar Using the Ansi Character SetUnsupported ALLBASE/SQL and IMAGE/SQL Statements Appendix a Implementation Notes ODBCLink/SE Reference Manual On the HP3000 Database Server Appendix B Creating a DBEnvironmentUp,down,left,right,top,bottom,printn,or end Isql= exit On the HP9000 Database Server $ csh /usr/lib/allbase/hpsql/sqlsetupODBCLink/SE Bit Driver Client For Windows 95 and Greater Appendix C List of Installed FilesODBCLink/SE Bit Driver Client For Windows NT 4.0 and Greater Install Disc Windows NT DescriptionODBCLink/SE HP-UX 9.x Host MPE/iX HostHP-UX 10.x and 11.x Host Page How MBF-Console Works MBF-Console IntroductionRunning MBF-Console File Menu Options SetupSet Refresh Interval in seconds Exit Configure DSNs... Console Data Sources ConfigurationConnect Menu Options PrintListener Window Connections WindowsConnections Window Server Window ⊗ Stop Logging Window Menu Option View Menu OptionHelp Menu Options This can be done using MS Explorer Installing MBF-Console for MBF-UDALinkODBCLink/SE ODBCLink/SE Foster Associates Limited Select Next ODBCLink/SE Foster Associates Limited When you have decided, press Next ODBCLink/SE Foster Associates Limited Select Finish to complete the Setup Installing MBF-Console for ODBCLink/SE Next ODBCLink/SE Foster Associates Limited 100 Foster Associates Limited ODBCLink/SE Foster Associates Limited 101 102 Foster Associates Limited Page Page Index Index ODBCLink/SE Reference Manual ODBCLink/SE Reference Manual Index Listener Log File HP9000 Using Process Status ps Command ODBCLink/SE Reference Manual Index