検索

質問
· 2017年9月6日

Can you call something that is non-interactive that will clean out any globals in ^CacheTempUser.* ?

These Globals are usually cleared out as part of the startup/shutdown processes. If your server never reboots how would you clean these out?

5 Comments
ディスカッション (5)0
続けるにはログインするか新規登録を行ってください
質問
· 2017年8月29日

pButtons: WDphase - Phase of the Write Daemon- 8: Databases are being updated. What does it mean?

Caché Version String: Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2016.2.1

 

We have a mirrored Ensemble system (110,  backup and 210, primary). At one time (14:00) there is a disruption in the production. The messages are not being processed. 

Looking at the pButtons (every 10 seconds) I see the following abnormal at the WDphase


and the backup

The different values of WDphase are:

0: Idle (WD is not running)

5: WD is updating the Write Image Journal (WIJ) file.

7: WD is committing WIJ and Journal.

8: Databases are being updated.

 

Can anyone explain what the different phase of the write daemon mean, and what can be the cause that the backup site of the mirror keeps giving the WD phase 8.

PS

We have looked at the storage on server 110. We did not see any thing.

3 Comments
ディスカッション (3)0
続けるにはログインするか新規登録を行ってください
質問
· 2017年8月28日

padding string in BPL

Hi folks, I'm trying to pad my patient MRN to 10 characters before I do a SQL lookup in my BPL. I've tried various approaches, and have not been successful.

When I add a "code" statement with the following code, I get an error as below.

set context.NewID = "0000000000"
set $EXTRACT(context.NewID,10-len(context.PatientID)) = context.PatientID
 
ERROR <Ens>ErrException: <OBJECT DISPATCH>zS8+5 ^CHSLI.BPLQueryDatabaseforPatientID.Thread1.1 *Property 'NewID'
in class 'CHSLI.BPLQueryDatabaseforPatientID.Context'
must be MultiDimensional -- logged as '-'
number - @'
set $EXTRACT(context.NewID,10-len(context.PatientID)) = context.PatientID'

Any ideas/help would be appreciated.

Thanks.

9 Comments
ディスカッション (9)1
続けるにはログインするか新規登録を行ってください
質問
· 2017年8月24日

Automatic Run process

Hi All,
I want to run the routine automatically when the system gets login.How to do that?

7 Comments
ディスカッション (7)0
続けるにはログインするか新規登録を行ってください
質問
· 2017年8月17日

Replacing all strings of special kind with macro calls

Hello everybody.

What I have is a criteria how to select "my" strings. What I need is to replace all of them with macro calls (using the same strings as arguments) in all classes of current namespace.

I was ready to write straightforward code, but at the last moment decided to ask the community: maybe I've overlooked a smarter option?

Any comments and advices would be great appreciated.

6 Comments
ディスカッション (6)2
続けるにはログインするか新規登録を行ってください