Re: Raiserror with nested stored procedures
I typically just generate the error @ each stored proc level. If you want to bubble the error message to the 'top' ... how about adding a varchar(XXX) output variable/parameter to each of your procs?...
View Articlecpuinfo mismatch
ASE1570 sp100, IBM AIX power8cpuinfo see 2 cores, lpar see 4 Virtual CPUsprtconf see Number Of Processors 4 $ ./cpuinfoLicense hostid: fa0d564cDetected 16 logical processor(s), 2 core(s), in 1...
View ArticleRe: counting inserts/updates when doing a merge
Mike,I'm glad that works. If that answers your question, you should go ahead and mark the question as answered.
View ArticlePerformance tuning training
I'd like to take the performance tuning class (EDB553) but it's not guaranteed to run. Does anyone know of a good independent vendor that offers this training?
View ArticleRe: cpuinfo mismatch
So, cpuinfo sees the actual hardware on the system, and the lpar and OS utilities see the virtual config. BTW, noting that lparstat lists your 16 (virtual) processors as well. The "cpuinfo" utility...
View ArticleRe: Raiserror with nested stored procedures
This worked great. I create the temporary table in PowerBuilder and then I call a stored procedure which calls other stored procedures.... and it keeps populating the #errorlog table and everything...
View ArticleRe: Sybase ASE asyncronous processing
Another question I posted said to use temporary tables. And the temporary table would not get rolled back. This worked great. I create the temporary table in PowerBuilder and then I call a stored...
View ArticleMissing ports in ASE Cockpit
After upgrading from ASE 16.0 SP01 to SP02 PL01 I tried to start the new ASE Cockpit. Cockpit starts but the connection info like "Cockpit Web Console: https://dimotion:4283/cockpit" is missing:...
View ArticleRe: cpuinfo mismatch
logical partition use 4 processors, I assume cpuinfo see 4 cores,there's no problem on IBM power 7, after upgrate to power 8, cpuinfo display only 2 cores.licenses purchased based on the cores, is that...
View ArticleRe: feedback about a document on data storage and how to track space allocation
Hi all, I did a little test and the results are not in line with what I expected -- unless I did something. The test below was executed on "Adaptive Server Enterprise/15.0.3/EBF 17686 ESD#1.1...
View ArticleRe: feedback about a document on data storage and how to track space allocation
What you are seeing here is an allocation page. Every 256 pages is an allocation unit and the first page of the allocation unit is the allocation page itself (object id 99), which holds 32 extent...
View ArticleSynchronizing ASE syslogins and sysusers after a database load
Greetings, This issue is as old as ASE itself. I have on multiple occasions dealt with it, and some employers had super secret scripts to perform the recociliation. I have now been commissioned to...
View ArticleRe: Synchronizing ASE syslogins and sysusers after a database load
You'll have to synchronize multiple system tables If you just load 1 user database and don't want to change syslogins in master database, then you have to check several tables in the user db,...
View ArticleRe: feedback about a document on data storage and how to track space allocation
Thanks Bret, Actually just after reading your answer I just remembered that OAM page stores OAM pages store pointers to the allocation units that contain pages for the object. Therefore the output...
View ArticleRe: Synchronizing ASE syslogins and sysusers after a database load
Jeroen, Thank you for the response! That is exactly what I am trying to do. Loading a single user database. It my come from another environment, so altering the local server syslogins table is out of...
View ArticleRe: Synchronizing ASE syslogins and sysusers after a database load
For encryption keys the encryption key db name is stored in syscolumns.encrkeydb (only if the key is stored in a different db then the object using the encryption key) As long as you restore the...
View ArticleRe: Synchronizing ASE syslogins and sysusers after a database load
here you go http://froebe.net/blog/2008/05/19/synchronize-a-sybase-ase-database-sysusers-with-mastersyslogins/
View ArticleRe: Synchronizing ASE syslogins and sysusers after a database load
Simple way is to use combination of - ddglen (utility provided by SAP/Sybase for getting metadata out) and - SQL generation for dropping users and groups (from system tables in the ASE database)...
View ArticleRe: Synchronizing ASE syslogins and sysusers after a database load
suid can be negative (valid values between -32768 and 2147483647)your script only checks for suid > 1, should be: between -32768 and -3 or > 1 With 15.7 and higher where you can specify suid...
View Article