Rechercher

Question
· Sept 11, 2017

Extract http request fields values

Hi world, i work actually on an intersystems project , my question is :

i've my Rest class that receive an HTTP request from a client side , i want to know how extract data from this http request , for example : date , id_client and measures taken by the client ( i need to extract  a weight value catched from a connected scale to my smart phone via bluetooth ) .

Thank you

4 Comments
Discussion (4)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Sept 11, 2017

Live streaming of Global Summit?

Will any of this week's Global Summit be live-streamed for the benefit of those of us unable to attend?

if so, what's the link?

2 Comments
Discussion (2)2
Connectez-vous ou inscrivez-vous pour continuer
Question
· Sept 6, 2017

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
Discussion (5)0
Connectez-vous ou inscrivez-vous pour continuer
Question
· Août 29, 2017

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
Discussion (3)0
Connectez-vous ou inscrivez-vous pour continuer
Question
· Août 28, 2017

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
Discussion (9)1
Connectez-vous ou inscrivez-vous pour continuer