Question Sehinde Raji · Aug 5, 2021

I have been working within Objectscript for a few months and I am seeking assistance today because all of the help files within the docs.intersystems.com domain are currently down and they wont be back up until next week. (I raised a special ticket for this) 

I have been trying to figure out how to  convert a binary number 0101001 in to a decimal number using a variable called CNumber and I have tried using the method below and it hasnt worked. I think it may be due to the fact that this assumes an array or some sort.

6
0 568
Question Duncan Priest · Aug 4, 2021

In a typical database, changing the type of a column from some kind of date/time to a string would require a degree of migration effort for existing values. In Caché, my suspicion is that this is not the case, and I could simply change a property definition from %Timestamp to %String (MAXLEN = "30") and recompile, without needing to worry about damaging the existing data stored for this property. Is this correct? Or would I find the existing data in this property being lost or corrupted?

Thanks in anticipation

3
0 246
Question Muhammad Waseem · Aug 5, 2021

Hi,

I am getting following error while compiling a routine :

Compilation started on 08/05/2021 12:58:31 with qualifiers 'cku /checkuptodate=expandedonly'
Compiling routine : demoroutine.mac
ERROR: demoroutine.int(1) #1026: Invalid command : 'write "Use one of the following options"' : Offset:6 [write^demoroutine]
 TEXT: write "Use one of the following options"
Detected 1 errors during compilation in 0.022s.

Please note that Routine contains just a below simple write command :
write "Use one of the following options"

Thanks

2
0 340
Question Bart De Boeck · Jul 28, 2021

Dear,

 

  From time to time I get the following error after executing a select statement:

[SQLCODE: <-400>:<Fatal error occurred>]
[Cache Error: <<UNDEFINED>Main+65^%SYS.DBSRV *%qsc(1187,8)>]
[Location: <ServerLoop>] InterSystems.Data.CacheClient.CacheException [SQLCODE: <-400>:<Fatal error occurred>]
[Cache Error: <<UNDEFINED>Main+65^%SYS.DBSRV *%qsc(1187,8)>]

After repeating the query, the query succeeds.

How do I start debugging this type of issue?

 

Thanks,

Bart

3
0 706
Article Evgeny Shvarov · Aug 5, 2021 1m read

Hi folks!

Want to share a lifehack with you on ObjectScript highlighiting withing VSCode for script files.

Script files are just files with lines of ObjectScript that we feed anywhere, e.g. into IRIS during Docker baking procedure.

Typical usecase - here is the Scriptfile

here is the Dockerfile where we feed it.

And here is how it looks like usually in VSCode:

Screenshot 2021-08-05 at 09 51 06

Coudl be more beautiful, right?

0
0 570
Question Syed M · Jul 27, 2021

Hi all,
    We have a session values in a cache method and need to get those values in a client method (JavaScript).
   
Eg : 
    ClassMethod Method1()
{
    Set %session.Data("Param1")="Data 1"
}

ClientMethod onloadHandler [Language = javascript]
{
   var ret = zenPage.getSessionValues();
}

ClassMethod getSessionValues() As %String [zenMethod]
{
   Set Data = $G(%session.Data("Param1"))
   Quit Data
}

This is the code we implemented. But the problem is getSessionValues() method isn't called.
We need to know how to call a class method from client method.

Thanks,
Syed M

1
0 545
Question Yone Moreno · Aug 4, 2021

Hello, first of all thanks for your time reading this question ◀️

We would need to achieve the following task:

We have a Ens.Response message with this structure:

<?xml version="1.0" ?>
<!-- type: Mensajes.Response.Justicia.PLATINO.EnviarIniciadoresGeneralResponse  id: 10986665 -->
<EnviarIniciadoresGeneralResponse>
    <EnviarIniciadoresGeneralOut>
        <![CDATA[<?xml version="1.0" encoding="ISO-8859-1"?>
<mensajeWS xmlns="https://wslexnet.webservices.lexnet/3.22"><respuestaEnvioMensaje xmlns=""><idEnvio>1947625809</idEnvio><tamBloque>524288</tamBloque><bytesMIME>TFgDBA.

2
0 1421
Announcement Anastasia Dyubaylo · Jul 26, 2021

Hi Community,

We're pleased to invite you to the online meetup with the winners of the InterSystems AI contest!

Date & Time: Friday, July 30, 2021 – 11:00 AM EDT

What awaits you at this Virtual Meetup? 

  • Our winners' bios.
  • Short demos on their applications.
  • An open discussion about technologies being used. Q&A. Plans for the next contests.

2
0 393
Announcement Evgeny Shvarov · Aug 3, 2021

Hi Developers!

Currently, we are experiencing technical issues with DC sign-in - you may not be able to sign in and contribute to the Developer Community.

Our engineers are already working to solve the issue, so we are committed to restoring service quickly.

To stay in touch, let's continue our tech talks on InterSystems Developers Discord Server 👈

Thank you for your patience!

0
1 293
Question reach.gr G · Jul 16, 2021

Dear Experts,

 

I have to pull out a report of certain code tables and this is my first script and I need to write many.

1. If I have to refer to the table, seeing the reference in the components with reference to SQL table and column, 

can I use Select < What I need from the table>

Inner join with reference table? 

I tried, I used the code table reference in the components, but I am getting errors, 

 





Code Table
Code    CT_abc
Loc ID
Type

P: Public

Pv: Private

C: Community

code CT_loc.
3
1 407
Article Oliver Wilms · Jul 27, 2021 2m read

I heard about Message Bank when we started redesigning a Health Connect production to run in containers in the cloud. Since there will be multiple IRIS containers, we were directed to utilize Message Bank as one place to view messages and logs from all containers.

 

How does Message Bank work?

 

I added Message Bank operation to our Interoperability Production. It automatically sends messages and event logs to the Message Bank.

 

Resending Messages

 

The Message Bank provides an interface for portal user to resend messages from the Message Bank portal.

1
0 562
Question Virat Sharma · Jul 31, 2021

Hi All,

I am new beginner to cache/mumps language. I want to learn Ensemble code but I do not have any application access to Ensemble code.

Is there documentation apart from Intersystems Ensemble documentation that can help me to learn Ensemble. Any notes or documents will be very handful

Please assist!! Thanks in advance.

2
0 234
Question Mark Runyan · Jul 6, 2021

How strange this is to me.  I'm querying a table against a numeric(15,2) column call max_client_resp_service.  When I query max_client_resp_service > 0 or any number, I get results, but they are not always right, for example where max_client_resp_service > 5 returns values less than 5, e.g. 2.00.  When I query < 110 of any higher number I get zero results.  It's as though the comparison operator, especially less than function is not working.  See attachments for screen shots.  I'm stumped.  Ok looking at this further, it appears ">" returns all records, "<" returns no results.

6
0 351
Question ED Coder · Jul 28, 2021

Is there a way to get a report of how many messages are passing through a production? I am trying to gauge how many messages we process weekly, monthly, and yearly. Also, over specific months.

Would appreciate if someone can guide me on this

We use Cache for Windows 2017.1.3

7
0 472
Job Nancy Barker · Jul 29, 2021

SR Software Engineer – HealthShare

 

Location: Melville, NY  (REMOTE)

 

  • Remote candidates will be considered. Will be required to travel to NY office on occasion.

 

 

The primary purpose of this role is to perform Technical and Functional Specification, Design, Coding, Testing, Documentation in the areas of Development, Maintenance and Support of the Health Information Exchange.  The role is most suitable for innovative engineers with problem solving attitude and interested to learn new technologies.

0
0 438