Quantcast
Channel: Sybase – Jason L. Froebe – Tech tips and How Tos for Fellow Techies
Browsing latest articles
Browse All 102 View Live

SAP Sybase ASE 16.0 major features

Sybase .. er… SAP will be releasing Adaptive Server Enterprise 16 within in the next few months (currently expected in Q2 2014). SAP has made the ASE 16.0 manuals available. Kevin Sherlock sums up the...

View Article


Image may be NSFW.
Clik here to view.

SAP SYBASE IQ 16.0 SP3 MANUALS FIXED TO WORK WITH TABLET/PHONE PDF READERS...

Many PDF readers for smart phones (Android/iphone) and tablets manage the pdf files based solely on the Title and Author fields in the PDF file. While for this is fine for your average book, it is not...

View Article


Image may be NSFW.
Clik here to view.

SAP Sybase SQL Anywhere 12.0.1 manuals fixed to work with tablet/phone PDF...

Many PDF readers for smart phones (Android/iphone) and tablets manage the pdf files based solely on the Title and Author fields in the PDF file. While for this is fine for your average book, it is not...

View Article

Image may be NSFW.
Clik here to view.

Open Watcom C/C++ & FORTRAN manuals fixed to work with tablet/phone PDF...

Many PDF readers for smart phones (Android/iphone) and tablets manage the pdf files based solely on the Title and Author fields in the PDF file. While for this is fine for your average book, it is not...

View Article

Image may be NSFW.
Clik here to view.

SAP Sybase IQ: How to Restore Your Backups to Another system

SAP/Sybase’s documentation isn’t very clear for new IQ dbas and developers. Once such item is simply restoring an IQ database on to another system. Unlike ASE, you need to specify the new file...

View Article


Image may be NSFW.
Clik here to view.

SAP Sybase IQ: Easily Extracting and Importing Data With Your IQ Data Warehouse

SAP/Sybase’s documentation isn’t very clear for new IQ dbas and developers. Once such item is simply extracting data from the warehouse into files that can be loaded into another IQ system when load...

View Article

SAP Sybase ASE Unable to shutdown with there are not enough ‘user...

If you’re trying to shutdown ASE and you’re not able to log in to the ASE instance, you can shutdown the instance with “kill -15 ” on Linux/Unix: server Error: 1601, Severity: 17, State: 3 server There...

View Article

Image may be NSFW.
Clik here to view.

SOLVED: SAP Sybase IQ SQL Anywhere error -203 Cannot set a temporary option...

Thanks to Joseph Weaver for supplying this workaround! In Embarcadero’s Rapid SQL accessing data within SAP IQ can sometimes result in a “SQL Anywhere Error -203: Cannot set a temporary option for user...

View Article


Drew Montgomery’s sp__dbsubspace for SAP Sybase ASE space usage

A few years back we were both working at a company that needed a method to obtain Sybase ASE database space usage every few minutes. The output of Ed Barlow’s sp__dbspace was fine but it was an...

View Article


A fast method of getting space utilization: sp__quickdbspace for SAP Sybase ASE

The sp__quickdbspace procedure relies on accurate metrics provided by free space accounting and/or dbcc checkalloc/tablealloc. It shouldn’t be relied upon on for exact space usage. Much of the code...

View Article

SAP Sybase IQ: Index Advisor for a user

There are times when you need individual users the ability to determine what indexes are suggested by the index advisor but you don’t want or are unable to give them full dba access. All you need to do...

View Article

Image may be NSFW.
Clik here to view.

SAP ASE: Using unix domain sockets for turbo bulk copying (BCP)

Cory Sane back in March 2013 on SCN wrote about using unix domain sockets for bulk copying of data in/out of SAP Sybase ASE 15.7. If you don’t know what unix domain sockets are, Thomas Stover over at...

View Article

Image may be NSFW.
Clik here to view.

SAP Sybase IQ Data Warehouse Index Advisor and awk

If you are running SAP’s IQ Data Warehouse somewhere in your organization, there will be a time when you need to enable the Index Advisor (see SAP Sybase IQ: Index Advisor for a user) and parse the...

View Article


HOWTO: SAP Sybase IQ / SQL Anywhere : searching date, datetime, time fields

If you’re new to IQ (or SQL Anywhere) you may run into an oddity that if you connect with ISQL the following code works but doesn’t work in DBISQL: SELECT col1_date FROM mytable WHERE col1_date >=...

View Article

SAP Sybase IQ: How many connections are in use? SOLVED

Very simple question. Very simple answer. select @@max_connections as 'max_connections', count(*) as 'active_connections', (1 - (@@max_connections - count(*)) / convert(numeric, @@max_connections)) *...

View Article


Image may be NSFW.
Clik here to view.

SAP SYBASE IQ 16.0 SP8 MANUALS FIXED TO WORK WITH TABLET/PHONE PDF READERS...

Many PDF readers for smart phones (Android/iphone) and tablets manage the pdf files based solely on the Title and Author fields in the PDF file. While for this is fine for your average book, it is not...

View Article

Image may be NSFW.
Clik here to view.

SAP IQ: dbisql is unable to load the SybaseIQ SQLAnywhere plugins. SOLVED!

I recently patched an SAP IQ server to 16.0 SP8 PL30 and ran into an interesting error message when trying to start dbisql: $ dbisql Interactive SQL could not load the "SQLAnywhere" plug-in. Its...

View Article


Image may be NSFW.
Clik here to view.

Wanted: SAP manuals in ePub format

Every time SAP comes out with a new set of pdf manuals, the meta data has to be corrected. Often the stored titles, description, etc are wildly wrong. Very sloppy and unprofessional for a mega corp the...

View Article

Image may be NSFW.
Clik here to view.

SAP Sybase Replication Server ERROR -99999 Severity 5 Values exceed buffer...

Running SAP Sybase Replication Server has always been interesting and rather frustrating that in its fragility. Today’s lesson is not exactly that clear. Take the following error message: ERROR #1027...

View Article

UPDATED: HOWTO: Extract Permissions from SAP Sybase IQ

Back in 2013 I posted a method of extracting the table/view permissions from SAP IQ. With later 15.4 patches and v16 the USER_NAME() function would fail on the grantee column of sys.systableperm. An...

View Article

Image may be NSFW.
Clik here to view.

SAP Sybase IQ and ODBC (Linux/UNIX)

Connecting to SAP Sybase’s IQ server shouldn’t be scary but the documentation leaves a lot to be desired. Log on to your favorite Linux or Unix box and make sure you source the IQ.sh file wherever you...

View Article


Image may be NSFW.
Clik here to view.

UPDATED: HOWTO: Extract Permissions from SAP Sybase IQ using the LIST() function

Back in August I provided an updated method to extract the permissions for tables in a SAP IQ server. This provided quite a few GRANT statements to execute. If you have thousands of tables and/or...

View Article


Image may be NSFW.
Clik here to view.

SAP IQ: Error: server ‘iq_mpx_1’ was started on an incorrect host ‘myhost1’:...

Recently I built a SAP IQ Multiplex cluster and ran into a self inflicted issue. After I configured the secondary nodes I updated the coordinator node (primary node) with the private (interconnect) and...

View Article

HOWTO: SAP Sybase IQ Loading Tables with AutoIncrement/Identity with Zero as...

If the source table has an identity or autoincrement field AND the value starts at zero “0” then load table either server -> server or from file will not work.  IQ is hard coded to reject the rows...

View Article

HOWTO: SAP IQ Drop Device File from DBSpace

Sometimes when we build an IQ Data Warehouse, our initial space/growth estimate is off significantly enough to warrant reducing the size of the dbspace(s). The process is quite easy put there are a few...

View Article


SAP IQ: Uptime

At some point you will be asked how long your IQ server has been up. To determine when the IQ server was started issue: SELECT PROPERTY('StartTime') Output: 2015-08-14 18:04:53.918 For the number of...

View Article

SAP IQ: iqinit error SQLCode: -1000338, SQLState: ‘QDD38’, Severity: 14:...

When you create a new IQ v16 instance, you need to use the iqinit program for initial creation of the database. iqinit -iqpath '/siq/devices/main001.iq' -iqpgsize 131072 -iqblksize 16384 -p 4096...

View Article

Image may be NSFW.
Clik here to view.

IQ Error: The multiplex server ‘iq_node_3’ is not included in the multiplex –...

When you run SAP’s IQ Multiplex cluster for a while you start finding little gotchas that will just drive you to drink. If you don’t drink, you will wish you do. (Just like with any other cluster...

View Article

HOWTO: Connect to SAP Sybase IQ Multiplex using JDBC and the SQL Anywhere...

SAP’s documentation, like other vendors, often sucks. In today’s wonderful documentation sucky-ness the examples from SAP to connect to IQ using a JDBC connection string like so:...

View Article



Image may be NSFW.
Clik here to view.

HowTo: SAP IQ What is running right now (active transactions) hogging resources?

Every once in a while you need to determine what connections in SAP IQ are actively executing. In other words, list the open transactions along with connection information. This is handly to determine...

View Article
Browsing latest articles
Browse All 102 View Live