Question wx fg · Jun 2, 2018 how to grant start/stop/restore privilege to user who is not root hiwhen I logon linux with a not root user, and then call ccontrol start/stop cache, show no permisson . how to grant start/stop/restore privilege to user who is not root .thanks #Security #System Administration #Caché 0 5 0 479
Question wx fg · May 17, 2018 cannot connect to Caché hi I cannot connect to Caché sometimes, the error message is [Cache JDBC] Communication link failure: Communication error: Connection reset and I cannot access the management portalso I plan to restart Caché with "ccontrol stop cache", it prompted "unable to get access to pid table"what's the problem?thanks! #Caché 0 1 0 2K
Question wx fg · Nov 20, 2017 how to release row lock? I have restored one database from backup, but when I query from some of tables, prompt error : this error remain after restart Caché serviceI can skip this error with %nolock in select query.My question is: 1. why there were locks after restart service?2. Can I release/rollback these locks by sql so I can query without %nolock? #Caché 0 3 0 544
Question wx fg · Jul 22, 2017 select sql error hi I execute sql like this: select * from DHC_PatBillDetails where PBD_PBO_ParRef>='2046121'error message:but the sql: select * from DHC_PatBillDetails where PBD_PBO_ParRef='2046121' can be executed successfullywhy? #Caché #SQL 0 5 0 349
Question wx fg · Jul 18, 2017 how to release memory for process? hi I query large mount of rows from one table with JDBC, and will prompt <store> error. I found that it was out of process memory (default 16M, max 49M in version 2010.2) . so my question is : how to release memory for large mount of rows query? or how to resolve this error? #Caché 0 24 0 892
Question wx fg · Jul 12, 2017 Is there a function for convert string to hex? hi is there a built in function for convert string to hex. for example"abc" convert to "616263"thanks #Caché 0 5 0 1.6K
Question wx fg · Jul 11, 2017 How to create method by script? hi I want to create one class and add one method in it, and then invoke it from terminal. I find thishttp://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...But there is only examples for adding property.Anyone can help me? Thanks #Caché #Terminal 1 6 1 547
Question wx fg · Jul 10, 2017 How to encrypt column value in sql? hi I want to update some columns in one table like this: update table1 set col1=%SYSTEM.Encryption_AESCBCEncrypt(col1, 'key') but the error is ERROR #5540: SQLCODE: -359 Message: User defined SQL Function '%SYSTEM.ENCRYPTION_AESCBCENCRYPT' does not exist what's the corect syntax? Thanks! #Caché 0 2 0 433
Question wx fg · Jul 5, 2017 select some rows from table return error hi I restored one database on Server B with EXTSELCT^DBREST command from backup file (this backup file is taken from Server A). When I execute select some rows from one table, it return error like this, the same select sql can return correct data in server ABut when I select other rows from same table on Server B, it return correct data.Why? maybe the backup file corrupted?Thanks #Caché 0 1 0 197
Question wx fg · Jul 3, 2017 execute sql from the Caché Terminal command line , prompt error "<METHOD DOES NOT EXIST> *Execute,%SYSTEM.SQL" hi I execute sql from Terminal SET result=$SYSTEM.SQL.Execute("SELECT TOP 5 name,dob,ssn FROM Sample.Person") but I got error "<METHOD DOES NOT EXIST> *Execute,%SYSTEM.SQL" Why? Thanks #Caché #Terminal 0 2 0 970
Question wx fg · May 22, 2017 How to perform online backup by windows bat? hi I want to online backup one Caché database by windows bat, I find some article from the online documentation about terminal script and the ^DBACK tool and External Entry Points for ^DBACK, so I can invoke the External Entry Points for ^DBACK from terminal script like this: send: Do BACKUP^DBACK<CR>Is there other better way for backup database from bat/script?Thanks #System Administration #Terminal #Caché 0 2 0 668
Question wx fg · Apr 21, 2017 how to judge one journal record is insert/update/delete operation for one table? hi I want to find the journal records that indicate the insert/update/delete operation for my table. I can read the journal file but there is so many records and I want to know is there some method or property which can judge one journal record for insert/update/delete operation for my table?thanks #Caché 0 5 0 339
Question wx fg · Feb 28, 2017 how to restore Caché database to another server hi I backup one database and restore it to antoher new Caché server with ^DBREST, but I cannot view this db in the portal, why?If I need some more operation? #Caché 0 5 0 1.6K