Connection profile with sybase
Hello,
I've been trying to configure a connection profile to
directly connect to a sybase database, but I have issues with the
drivers. At firt I was told that the JDBC drivers jconn3.jar
weren't found, so I downloaded the ones from Sybase :
http://www.sybase.com/products/allproductsa-z/softwaredeveloperkit/jconnect
In the Edit driver definition windows I've deleted the
jconn3.jar and replaced it with the jconnect.zip I just download.
Then I've entered all the details concerning my database, but when
I Test the connection, I get this message :
java.lang.ClassNotFoundException:
com.sybase.jdbc3.jdbc.sybdriver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.datatools.connectivity.db.generic.JDBCConnection.createConnection(JDBCConnect ion.java:86)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverCo nnectionBase.java:104)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53 )
at
org.eclipse.datatools.enablement.sybase.asa.JDBCASAConnectionFactory.createConnection(JDB CASAConnectionFactory.java:32)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Co nnectionFactoryProvider.java:77)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Connection Profile.java:354)
at
org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Any idea ? Any solutions ?
TIA.
Eventually, the problem is resolved.
It related SAP Note 706195.
I did the Solution in the Note, all BAPI is displayed in Sybase Unwired WorkSpace's Enterprise Explorer.
Note 706195:
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_dwb/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373036313935%7d
thanks,
Hiroshi Saito
Similar Messages
-
Unable to connect hana with sybase replication server and i am not getting ECH plz help
unable to connect hana with sybase replication server and i am not getting ECH plz help
Please don't necrobump/hijack threads: https://wiki.archlinux.org/index.php/Fo … bumping.22
https://wiki.archlinux.org/index.php/Fo … _hijacking
Closing -
ODBC Gateway on Linux error - connects ok with Sybase SQL Anywhere
OS: CentOS 5.8 64-bit
DB: Oracle XE 11gR1 64-bit
Gateway: Oracle Gateway for ODBC 64-bit
Database and gateway reside on same Linux Server.
Connecting to remote Sybase SQL Anywhere 10 server on WindowsXP.
Using SQL Anywhere 11 odbc driver and unixODBC driver manager on Linux server.
isql tool connects without any problems.
One LISTENER, service for db and gateway on same port.
===================================
Via SQL*Plus, the following error occurs....
SQL> select * from dual@dblink;
select * from dual@dblink
ERROR at line 1:
ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from dblink
===================================
sqlnet.ora
# sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
# Generated by Oracle configuration tools.
NAMES.DIRECTORY_PATH=(TNSNAMES)
ADR_BASE = /u01/app/oracle/product/11.2.0/xe
==================================
tnsnames.ora
# tnsnames.ora Network Configuration File:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
dblink =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521)
(CONNECT_DATA =
(SID = dblink))
(HS=OK))
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
=======================
listener.ora
# listener.ora Network Configuration File:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = dblink)
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/gtw)
(PROGRAM = dg4odbc)
(ENVS=LD_LIBRARY_PATH=/opt/sqlanywhere11/lib64:/u01/app/oracle/product/11.2.0/gtw/lib)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
========================
initdblink.ora
# This is a sample agent init file that contains the HS parameters that are
# needed for the Database Gateway for ODBC
# HS init parameters
HS_FDS_CONNECT_INFO=dblink
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
HS_FDS_TRACE_LEVEL=255
HS_LANGUAGE=american_america.we8iso8859p1
HS_NLS_NCHAR=UTF-8
# ODBC specific environment variables
set ODBCINI=/etc/odbc.ini
========================
Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.915
Heterogeneous Agent Release
11.2.0.1.0
Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.914
Version 11.2.0.1.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
setting HS_FDS_RECOVERY_PWD to default value
setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
setting HS_IDLE_TIMEOUT to default of 0
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
HOSGIP returned value of "UTF-8" for HS_NLS_NCHAR
setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
setting HS_FDS_DATE_MAPPING to default of "DATE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "TRUE"
setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
Parameter HS_FDS_QUOTE_IDENTIFIER is not set
setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
setting HS_FDS_DELAYED_OPEN to default of "TRUE"
setting HS_FDS_WORKAROUNDS to default of "0"
Exiting hgosdip, rc=0
ORACLE_SID is "dblink"
Product-Info:
Port Rls/Upd:1/0 PrdStat:0
Agent:Oracle Database Gateway for ODBC
Facility:hsa
Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dblink
Exiting hgogprd, rc=0
hostmstr: 0: HOA After hoagprd
Invalid HS_NLS_NCHAR value UTF-8 specified
Setting HS_NLS_NCHAR to Server Default 2000
Invalid HS_NLS_NCHAR value UTF-8 specified
Setting HS_NLS_NCHAR to Server Default 2000
hostmstr: 0: HOA Before hoainit
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=31
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=873
HOCXU_SEM_VER=112000
Exiting hgoinit, rc=28513
hostmstr: 0: HOA After hoainit
RPC Calling nscontrol(0), rc=0
hostmstr: 0: RPC Before Exit Agent
hostmstr: 0: HOA Before hoaexit
Entered hgoexit
HS Gateway: NULL connection context at exit
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection context
hostmstr: 0: HOA After hoaexit
hostmstr: 0: RPC After Exit Agent
=============================
Also, does anyone know how to determine the location (full path) of the unixODBC driver manager ?
Please assist if you can...thx.
Edited by: user601798 on Oct 15, 2012 3:37 PMLet me start with the unixODBC driver:
There's no generic location as it depends which package you've used to install the UnixODBC driver manager or how you compiled it from scratch. I commonly prefer to compile it from scratch as this offers me to install it to any location I like.
If you're not sure where it is located, you could perform a search on your machine looking for libodbc.so. Then cross check it with "file <location>/libodbc.so" to see the lib is a 64bit library.
So let's assume in the /usr/lib64 you found the libodbc.so library, then the setting
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
is correct. Else you need to adopt the parameter.
Next step is to check out which unixODBC version is installed. That's commonly done by calling "odbcinst -j".
Looking now ta the gateway init file there's a parameter HS_NLS_NCHAR set to UTF-8. UnixODBC is commonly compiled with UCS2 support, so please change it to HS_NLS_NCHAR=UCS2
Could you also please post the content of the odbc.ini file "more /etc/odbc.ini"?
Thanks,
Klaus -
WAS Connection Pooling with Sybase - associating a connection with spid
We defined a datasource in our WAS 4.0 server (for Sybase) and configured it with a single login id/password. I'd like to know if it is possible to uniquely identify a database connection with a Sybase process (SPID). From Toplink's persspective, each connection is identified with a ServerSession ID and Connection ID. But from Sybase's perspective, it has N logins all using the same login ID (the Login ID specified in the WAS datasource). So if two connections are executing some SQL at the same time in my WAS app, is there a way to trace a Sybase process ID to a specific TOPLink connection ID?
Thanks, MattDon,
I created a subclass of SessionEventAdapter and implemented the postConnect method. In the postConnect method I was able to use the SessionEvent's result attribute (a DatabaseAccessor) and execute some SQL to retrieve the Sybase process ID. From what I could see, every connection has a unique DatabaseAccessor. I chose, therefore, to use the hash code of the DatabaseAccessor to store the SPID as a property on the ServerSession's DatabaseLogin object. Now, whenever I acquire a connection, I can query the DatabaseLogin object and have access to the SPID based upon the DatabaseAccessor being used.
Do you see any issues in doing it this way? I was concerned that the result attribute of the SessionEvent might not always be a DatabaseAccessor.
Thanks for your help,
Matt -
Problem creating connection pool for Sybase
I'm trying to create a connection pool with Sybase as the database, as follows:
weblogic.jdbc.connectionPool.demoPool=\
url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
driver=com.sybase.jdbc.SybDriver
initialCapacity=1,\
maxCapacity=2,\
capacityIncrement=1,\
props=user=dbdev;password=dbdev,\
allow=system
I get the following error:
java.sql.SQLException: JZ004: User name property missing in DriverManager.getCon
nection(..., Properties).
Any pointers on what's wrong?
RgdsHi. there's no line continuation stuff after the driver line.
Try:
weblogic.jdbc.connectionPool.demoPool=\
url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
driver=com.sybase.jdbc.SybDriver,\
initialCapacity=1,\
maxCapacity=2,\
capacityIncrement=1,\
props=user=dbdev;password=dbdev,\
allow=system
and make sure there's no whitespace in the properties file after any of
the '\'s in these lines.
Joe
Eeshan wrote:
>
I'm trying to create a connection pool with Sybase as the database, as follows:
weblogic.jdbc.connectionPool.demoPool=\
url=jdbc:sybase:Tds:10.20.30.50:4100/dbsrvr,\
driver=com.sybase.jdbc.SybDriver
initialCapacity=1,\
maxCapacity=2,\
capacityIncrement=1,\
props=user=dbdev;password=dbdev,\
allow=system
I get the following error:
java.sql.SQLException: JZ004: User name property missing in DriverManager.getCon
nection(..., Properties).
Any pointers on what's wrong?
Rgds -
Connection to Sybase using Connection profile
Hello,
I've been trying to configure a connection profile to
directly connect to a sybase database, but I have issues with the
drivers. At firt I was told that the JDBC drivers jconn3.jar
weren't found, so I downloaded the ones from Sybase :
http://www.sybase.com/products/allproductsa-z/softwaredeveloperkit/jconnect
In the Edit driver definition windows I've deleted the
jconn3.jar and replaced it with the jconnect.zip I just download.
Then I've entered all the details concerning my database, but when
I Test the connection, I get this message :
java.lang.ClassNotFoundException:
com.sybase.jdbc3.jdbc.sybdriver
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native
Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.FactoryURLClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.datatools.connectivity.db.generic.JDBCConnection.createConnection(JDBCConnect ion.java:86)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverCo nnectionBase.java:104)
at
org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53 )
at
org.eclipse.datatools.enablement.sybase.asa.JDBCASAConnectionFactory.createConnection(JDB CASAConnectionFactory.java:32)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(Co nnectionFactoryProvider.java:77)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(Connection Profile.java:354)
at
org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Any idea ? Any solutions ?
TIA.Moreover, I try to create an application module with the view object which has an entity object. This entity object is connect to a table of sybase database. When I try to test this application module and enter the login id and password of the database server. It pop up and error "(oracle.jbo.NotConnectedException) JBO-25200: Application module is not connected to a database". In fact, I use ODBC to connect the sybase server. However, there is no "JDBC-ODBC Bridge" for me to select in the Connection Type of "Oracle Business Component Browser - Connect" wizard. What should I do? Thank you.
-
Sql Server Connectivity issue with ODI Data Profiler
Hi all,
To profile data from SQL Server Data source, i had created a ODBC connection(using Windows NT authentication) in the system and it was successful. Created a connection with Type ODBC connection in Loader Connections along with System name, Port No and DSN Name. But while trying to connect the database it is throwing an error as Authentication Failed. Please guide me.ODI's DP does not support the use of sourcing data on the ODBC data source. You must extract to a file, and use the file as the input.
-
Sybase connection errors with SSDT
Hello All,
I need help.
I'm designing datamodels in SQL Server Data Tools but am having trouble connecting to my Sybase DB (or anything other than MSSQL). The Sybase client is installed and I'm able to connect and browse to the DB via Sybase Central. However, in SSDT, I get the
error message:
Failed to connect to the server. Reason: The 'ASEOLEDB' provider is not registered on the local machine.
What do I need to install/configure to make this work?
SSDT: Visual Studio 2010 Shell ver 10.0.40219.1 SP1 Rel
Windows Server 2008 R2 Enterprise x64bit
Sybase Central ver 6.0.0.4787, Sybase IQ ver 15.3.0.110506
Thanks,
CarterHi Carter,
Base on my research, the error "The 'XXXX' provider is not registered on the local machine." was caused by that Visual Studio can only recognize 32bit providers for OLEDB providers, however, for .NET providers, both 32bit and 64 bit providers can be
listed in VS. To avoid this issue, please install both 32bit and 64bit
Sybase OLEDB provider and then reference the provider using ASEOLEDB in SSDT.
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
Velocity profiling with SoftMotion Module
Hi Folk,
I need to move a stepper motor following a velocity profile, i.e. I need to change continuously the velocity while motion is in progress.
I intend to perform the move with a cRIO platform equipped with a NI 9512 module.
By using the property & invoke nodes, introduced first in NI SoftMotion Module 2009 SP1, I have created a small test routine to perform my task.
I have used the property & invoke nodes, instead of the function blocks, because I want to update the velocity profile as fast as possible.
For the test routine I have used a simulated axis (a servo motor) and the routine is developed by using the scan interface.
In the main loop, a sinusoidal wave (point by point) generates a sample velocity profile, the velocity is passed to the "velocity" Straigth-Line Move property node and it is applied to the axis by the "Start" Straigth-Line Move invoke node.
The test routine runs circa correctly until the velocity profile cross the zero, at that time the routine stops with the following Error -77070.
I have added an offset to the generated sinusoidal profile. The test routine runs correctly if the offset sets the sinusoidal profile all positive or all negative, i.e. the offset is greater than sinusoidal amplitude.
Question (1)
I beleave that this behavior is due to a bug in the Straigth-Line Move node. I am right?
Question (2)
I have written that the routine runs "circa" correctly because furthermore the previous bug there is a timing issue.
I have set the Scan Period = 5 ms as it is requested for 951x modules.
If the timed loop (Synchronize to Scan Engine) is set to 5 scans or more the timing of the timed loop seems to be correct (the sinusoidal wave shows the period that has been configured).
If the timed loop is set to 4 scans or less the timing of the timed loop becomes longer (the sinusoidal wave shows a longer period as that has been configured).
Any idea about this timing issue?
Question (3)
Any suggestion how to write a faster velocity profiling with the SoftMotion Module?
Thanks for your help,
Asper
P.S.
Error -77070 occurred at Invoke Node in Axis_Velocity_profiling.vi
Possible reason(s):
NI SoftMotion: A Start operation is pending. Please add a delay between consecutive preemptive Start Motion calls.
Attachments:
velocity_profile_exemple.zip 77 KBHi Reid,
I am developing a system for low-force tests of very thin tissues in tension and fatigue.
The force is measured with a load cell and is applied by pulling the sample with a linear translation stage and the elongation is measured with a linear encoder.
The linear stage is motorized with a 2-phase-stepper motor, and with two limit switches. The stepper is designed for applications with very limited space conditions and the motor is hollow.
The linear encoder has a 20 nm resolution and a 1 um accuracy, and includes an electronic for signal conditioning that is compliant with the encoder input of the NI 9512 module.
The load cell is a full bridge with an accuracy better than 0.01 %. For acquiring and conditioning the full bridge, the system uses a NI 9237.
The system will provide tests that are controlled both in force and in elongation.
For the tests controlled in force, the loop is closed with the signal measured by the load cell and the translation stage is driven in velocity.
For the tests controlled in elongation, the loop is closed with the encoder signal and the translation stage is driven in position.
For both type of tests, the user can select different test profiles, for example: a linear increasing, a sinusoidal profile for fatigue test, etc.
The user can pause the test at any time, and the system must take the condition, until the next proceed command.
My previous post: question (1)
Your reply:
I ran the code Axis Override Test 1 on my machine on a simulated Axis and this was the performance I observed:
Our versions maybe differing did you see the same behavior on a simulated axis?
Concerning the velocity that is read from the Read (Data) function block, I observe the following:
With a simulated axis (both in My computer and in cRIO-9073) the values are positive for forward move and they are negative for backward move (as you also have observed).
With the real axis (NI 9512) the values are positive both for forward move and backward move.
Please see the next images.
With simulated axis
With real axis (NI 9512)
My system is as follows:
LabVIEW: 9.0f3
SoftMotion: 9.0.1
NI-Motion: 8.1.0.3037
NI-RIO: 3.3.1
NI-RT: 9.0.0
I want to point out that the simulated-axis is a servo drive while the real axis is a stepper drive (NI 9512).
With my software release, I believe that this behavior is due to a bug, probably in the stepper drive interface. I am right?
I suggest that you try on a real stepper axis (NI 9512).
My previous post: question (2)
Your reply:
These two questions I feel share the same root cause. It takes a little bit longer to calculate the a preemptive move in the opposite direction.
Considering the observation on the Read (Data) function block issue, now I note that my second question arises from the sum of two different behaviors. In case the Read (Data) function block issue is solved, as for simulated axis, the sentence can be rewritten as:
The velocity plot shows some computation troubles as the velocity is approaching the zero, with the derivative both positive and negative.
Furthermore I have discovered that this computation troubles gives a blocking error if the velocity is approaching the zero with a zero derivative.
Once the velocity reaches the zero with a zero derivative, the "Velocity Override" Write is no any more able to change the velocity!
No errors or warnings comes out in this situation!
This behavior is true with an axis both real and simulated, and is still true both with an all function blocks code and a mixed function blocks/invoke nodes code.
From this point of view, the velocity troubles with the approaching to zero are very very bad!
Please consider that in the previous posted example you can find an all function blocks code, Axis Velocity Override_test_0.vi, and a mixed function blocks/invoke nodes code, Axis Velocity Override_test_1.vi.
You can easily test the velocity blocking error by putting the parameter offset = amplitude in the previous posted example.
My previous post: question (3)
Your reply:
I am curious if you are observing that around zero % the override function performs poorly, was this present on the function block example? I think the problem here is the preemptive move being called from the straightline move function. Basically, the trajectory generator is still calculating points when send the command to it. Since we are updating the velocity at a very fast interval we notice some of this breakup due to the longer latancy times. Even with this
Error -70216 occurred at an unidentified location
Possible reason(s):
Motion: A required resource is busy and unable to accept further commands at this time.
To get around this error you will need to call into the trajectory generator at a slower period of time to allow it to finish the operation in progress. Keep in mind the control loop we are calling into in RT is the command loop to the trajectory generator and the position control loop is performed on the FPGA of the module itself.
I want to underline that the computation troubles as the velocity is approaching the zero has not apparent connection with the Error -70216.
I have tested the posted routines with Scan Period = 5 ms and the Number of Scans = 5 or more (25 ms for cycle or more) and the computation trouble is still there every time that the velocity is approaching the zero.
The Error -70216 come out randomly and increases as the cycle time decreases.
I did not observe any decay in the time to perform the Velocity Override around zero %, but you have to consider that I did not make any test to investigate this issue.
I agree with you, the Error -70216 can arise from some commands that try to access the same resource a the same time.
In my opinion the Velocity Override has to be predominant, i.e. no matter what the routine is actually doing, the routine should start immediately to correct the actual velocity to reach the new value.
Suggestion: for the future release of the Velocity Override, please consider to leave the opportunity to select from percentage velocity (as it is now) an absolute velocity.
Regards,
Asper -
How do I connect to a Sybase database from Crystal?
I have never tried to connect to Sybase data before and I am having difficulty figuring out how. I am using CR XIR2 from my desktop and trying to connect to what I am told is a Sybase database (voicemail system). I believe Sybase vers 12.5, but not entirely sure yet. Postings on the forum and other sites appear to be directed toward sdk developers or other development and were not helpful. Most of what I am reading points toward an Adaptive Server® Enterprise (ASE) ODBC Driver by Sybase. However, I was told that was not true but the person promising to forward the information never came through. Are there additional drivers I need to install or can someone point me in the right direction? Thanks!
Hi Wendy,
32-bit NATIVE DRIVERS
CRDB_P2SSYB10.DLL is the native driver for Sybase ASE. It is used with Sybase ASE 12.5
NOTE: The native driver for Sybase ASE cannot be used to connect to Sybase ASA (Adaptive Server Anywhere) or Sybase ASIQ (Adaptive Server IQ). Sybase ASA and Sybase ASIQ include their own ODBC drivers as part of their installation package. These drivers provide the only means of connecting to Sybase ASA and Sybase ASIQ databases.
I hope this helps you.
Regards,
Prashant
Edited by: Prashant Saduwale on Oct 10, 2008 4:19 PM -
How i can connect ipad with ipad mini via bluetooth
how i can connect ipad with ipad mini via bluetooth?
for what purpos?
this is what bluetooth profiles ios devices support out of the box
http://support.apple.com/kb/HT3647?viewlocale=en_US&locale=en_US
but there maybe more features supported by apps from app store as a bluetooth profiles such as PAN give the client server possiblities -
How to create a persistent network manager profile with openvpn?
After installing networkmanager and openvpn everything works fine except that the networkmanager profile is not persistent and nm creates and selects a new profile with every boot. I followed Persistent configuration on boot using systemd which creates a persistent profile and cuts out the creation of a new profile, but when I build a openvpn connection it won't change the i.p. any longer. I've been searching for a week, read and learned a lot, but without a solution.
My main question is what's creating and selecting a new network profile after booting? I've 2 fresh installations of Arch and Archbang on 2 pc's and with both the same issue/problem.
systemctl --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
clamd.service loaded active running clamav daemon
colord.service loaded active running Manage, Install and Generate
cups-browsed.service loaded active running Make remote CUPS printers av
dbus.service loaded active running D-Bus System Message Bus
[email protected] loaded active running Getty on tty1
kmod-static-nodes.service loaded active exited Create list of required stat
lvm2-lvmetad.service loaded active running LVM2 metadata daemon
lvm2-pvscan@254:0.service loaded active exited LVM2 PV scan on device 254:0
NetworkManager.service loaded active running Network Manager
nmbd.service loaded active running Samba NetBIOS name server
org.cups.cupsd.service loaded active running CUPS Scheduler
polkit.service loaded active running Authorization Manager
privoxy.service loaded active running Privoxy Web Proxy With Advan
rpcbind.service loaded active running RPC bind service
rtkit-daemon.service loaded active running RealtimeKit Scheduling Polic
smbd.service loaded active running Samba SMB/CIFS server
systemd-fsck-root.service loaded active exited File System Check on Root De
systemd-fsck@dev-disk-by\x2duuid-0e5d72a0\x2de09b\x2d4d0b\x2dba6f\x2d29a25ce04
systemd-fsck@dev-disk-by\x2duuid-567d8960\x2d0ab5\x2d4e3a\x2d8565\x2d32d725fee
systemd-journal-flush.service loaded active exited Trigger Flushing of Journa
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File
[email protected] loaded active exited Load/Save RF Kill Switch
[email protected] loaded active exited Load/Save RF Kill Switch
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boo
systemd-user-sessions.service loaded active exited Permit User Sessions
systemd-vconsole-setup.service loaded active exited Setup Virtual Console
tor.service loaded active running Anonymizing Overlay Network
udisks2.service loaded active running Disk Manager
[email protected] loaded active running User Manager for UID 1000
systemctl list-unit-files | grep -i network
dbus-org.freedesktop.NetworkManager.service enabled
[email protected] disabled
NetworkManager-dispatcher.service disabled
NetworkManager-wait-online.service disabled
NetworkManager.service enabled
systemd-networkd-wait-online.service disabled
systemd-networkd.service disabled
network-online.target static
network-pre.target static
network.target static
Last edited by 2arch (2014-12-10 22:54:18)Open the Sharing pane of System Preferences and enable Internet Sharing over AirPort.
(59391) -
JDBC query with Sybase database
Hi Folks,
I am working with Oracle 9i Reports Builder connecting to Sybase database using jdbc-odbc driver type.
I could connect to the database, use a simple query and generate reports.
Problem is only when, I use a variable in WHERE clause and have
1. group functions in SELECT statements (i.e. sum(), count()..)
2. NOT IN operations in one of conditions
Error message was thrown saying "Incorrect Syntax near ':.' "
(I declare a variable in USER PARAMETER and use the same in WHERE clause by refering say "where trandate=:m_trandate".)
Though there is no syntax error AT ALL. Am very sure about it, because when I execute the same statement in "isql" , it works perfectly.
Can anyone, let me know whether Is it a limitation on Report Builder with Sybase db or Is any configuration do I miss??
Also, let me know if there is any work around process to handle this situation.
Sample Query I tried :
select item, avg(rate) from inventory
where item=:mitem /* mitem is a variable */
group by item
Any information is welcome.
Thanks & Regards
Anand
Mail ID: [email protected]Hi Sachin,
I too, got through the issue. Sorry am bit late in updating you. But still I would say it is not on consistent(my feedback as per I grabbed from the behavior. Say, I accepted the query in a particular order of WHERE clause, then If I change the order it will throw an error message saying "Incorrect syntax".)
Anyway working fine. Thanks for your immediate response with useful hints.
Rgds
Anand
Hi Anand,
Yes, JDBCPDS accepts all Select queries which follows SQL Specification.
It would be a valid query as per the database used.
Please try again, Bind parameters can be placed in any or all of the conditions of SQL Query in JDBCPDS.
I am able to use them in both the cases you told.
With Regards
Reports team -
Can't create an MBO object using an SQL Server connection profile
Hi all,
I'm trying to create an MBO from an table using an SQL Server connection profile. The connection is fine but when i grag a table into Mobile Application Diagram in order to create an MBO i got the following exeption:
I´ve already configured the necessary jar (sqljdbc4.jar) in the following directories:
C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
but i always get the same error.
Any help, suggest would be apreciated
thx,
NunoHi Nuno,
I just wanted you to verify the path where you have pasted JAR file. As you mentioned
Path 1:
C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
but as per doc it should be under:
C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib\3rdparty
Path 2:
C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
but as per doc it should be under:
C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337\lib
Rgrds,
JK -
Connect. test with "dbmcli db_state" -- Unsuccessful
hello All,
After a system copy, when I try to schedule de backups in DB13 i got the following error:
DBM_GETF database instance not found
If I test the connection with DB in the DB59 transaction the following is displayed:
Connect. test with "dbmcli db_state" Unsuccessful
How can I fix this issue?
Thanks,
Hernando
Edited by: Hernando Polanía C on Oct 18, 2011 6:33 PMHello Natalia,
I run the connection test in Tx db59 and the result was:
General Connection Data
Connection Name....: PTC
Database Name......: cobogsap01
Database Server....: cobogsap01
tp Profiles........: no_longer_used
DBM User...........: CONTROL
Test Scope
1. Execute an external operating system command (DBMCLI)
2. Determine status using TCP/IP connection SAPDB_DBM (DBMRFC command mode)
3. Determine status using TCP/IP connection SAPDB_DBM_DAEMON (DBMRFC session mode)
4. Test the SQL connection (Native SQL at CON_NAME)
Application Server: COBOGSAP01_PTC_00 ( Windows NT )
1. Connect. test with "dbmcli db_state" Unsuccessful
dbmcli_command_execute_error
Error! Connection failed to node cobogsap01 for database cobogsap01:
database instance not found
External program terminated with exit code 2
2. Connect. test with command mode "dbmrfc db_state" Unsuccessful
dbm_system_error
Name and Server : cobogsap01 - cobogsap01
DBMRFC Function : DBM_EXECUTE
Command : db_state
Error : DBM Error
Return Code : -4
Error Message : database instance not found
3. Connect. test with session mode "dbmrfc db_state" Unsuccessful
dbm_system_error
Name and Server : cobogsap01 - cobogsap01
DBMRFC Function : DBM_CONNECT
Error : DBM Error
Return Code : -4
Error Message : database instance not found
4. Connect. test with "native SQL" ( PTC ) Unsuccessful
For detailed information, see the developer trace for work process: 2
the MaxDB version is 7.6.06.019
Thanks for your help.
Reagards,
Hernando
Maybe you are looking for
-
Unable to find an Output Post Processor service to post-process request
Hi experts, Users complaining that they could not able to generate the PDF. User Complaint: The program does not generate the PDF. The program just generates the XML output. The logfile shows that “Unable to find an Output Post Processor service to p
-
How to use airplay with wifi dongle?
My mac's wifi adapter was broken, so I bought a wifi dongle - ASUS USB-N10. It wasn't work until I installed the driver: http://www.wireless-driver.com/realtek-rtl8192su-adapter-macos-drivers-ver1082/ And however it seems to be a wifi assistant to he
-
Can't upgrade ipod touch to ios 5 beta 2?
Hi everyone! I recently tried to upgrade my firmware from ios 5 beta 1 to ios 5 beta 2 (I have a developer account, paid the $99 and everything). The upgrade to beta 1 from 4.3.3 was pretty much flawless. When I tried to upgrade to ios 5 beta 2, it s
-
Any method to remove the required field option in the runtime process
I've added the required actions n callable objects for the design time and when i run it in the runtime, there are actually required field that we need to fill in before the interactive form appear. Is there any way that I can remove the required fie
-
Changing Directory Install Name
Hi, If I have built my Sun One directory server under a given name, for example, "myserver", can I rename it without re-installing the directory. Eg the above example creates a physical directory called "slapd-myserver" and creates config and entries