Hi Community!
Check the new video on the. InterSystems Developers YouTube Channel:
Hi Community!
Check the new video on the. InterSystems Developers YouTube Channel:
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 A
But when I select other rows from same table on Server B, it return correct data.
Why? maybe the backup file corrupted?
Thanks
I have a stored procedure like below:
Call USER.SP('select * from Sample.Person where SSN='aaaaa'','0','S')How could I escape the single quotes for aaaaa? I try double single quotes but in vain.
Thanks you.
"SELECT %SYSTEM.SQL_TableExists('table name') "could work as expected under SQL shell,
but for "CALL %SYSTEM.SQL_TableExists('table name')" does not work (not any error reported, it just show nothing).
Is there any reason why CALL could not be applied to a stored procedure?
Thanks.
I needed to pass through a file with Ensemble but the operation wasn't writing some filenames as given because the EnsLib.File.PassthroughOperation 'sanitizes' filenames removing characters that are not valid on some operating
systems;
09000655_AEDC_C3344059_A/E_Martin Browne_09000655_201706221018.pdf
09000655_AEDC_C3344059_A#47E_Martin_Browne_09000655_201706221018.pdf
Oh No! It has stripped out my semicolon and ampersand! I need them! (and they are valid filename characters in windows)
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
Hello. I am a student from Syktyvakar Forest Institute(Russia).
I need to make Research : "Databases for working with spatial data
Consider MySQL, PostgreSQL and 1 to choose from". I want to explore Cache with subject library of spatial data.
Help.
Does Someone from the developers write the libraries of spatial data?
Caché offers a number of methods for going through a collection and doing something with its elements. The easiest method uses a while-loop and lets you fulfill the task in an imperative manner. The developer needs to take care of the iterator, jumping to the next element and checking if the loop is within the collection.
Hi
Has anyone worked out any tricks to overcome this issue in 2015 and IE11 where the Dialog content is masked. I'm trying to fix it in a custom one, but you can see that the same issue is happening in the Standard Color Selection one as well.
Hi everybody,
I have to create a pivot that shows the result comparing the last week of the current date with the last week of the last year in the same month. I tried using the function LAG, but didn´t work. Works only if I want to compare the months between the two years. If someone has some idea, i will appreciatte a lot.
Thanks.
Jaqueline Krieger
Good day, I have this issue. I have global like: ^myglobal(varX) = $LB(var1,var2). I need to delete all globals that have variable var1 in that list same without a need to iterate through all globals and checking their value.
Exact example:
- in database exist following:
I know this may sound like sour grapes, but really it is not.
I hear all the exciting things about the up coming InterSystems Conference, and I am sure it is.
But it is way, way out of my price range, and I am sure out of the price range of most of the Cache/MUMPS developers, without company backing.
Just wondering what others think.
Is there an available API for creating a business service? Is it just a table that Business Service Wizard is inserting the data into or it is something more?
Good day, I would like to find out the size of Caché ObjectScript variable in order to guarantee that my program will not leak, equally in terminal and Caché globals. For example how huge number I can store in that variable ? And what happen in Caché when variable will leak ? How is this behavior treated? (how much memory is reserved for common variable?)
Thanks in advance for your answers.
How do we generally create an error object of %Status?
Set status=$SYSTEM.Status.Error($$$GeneralError,"Something went wrong")
Now, like $$$GeneralError there are many more macro defined within %occErrors include file by Intersystem which we can use.
In my cache studio i couldn't find the a namespace of iknow so how can i check is my studio version is compatible to to the one i am using now. If i don't have one then can be able to create a new namespace in studio?
Hi Every Body
I'm studying AngularJS now ( looking for a substitute for my zen-mojo application ) , I would like to understand how can I connect from the client (AngularJS) with the server , passing data & invoking methods server side.
Hi, Community!
This post is a digest of the Developer Community postings in June 2017.
Most viewed
Output 9876543210 without using numbers 314
Is Caché SQL essential to Caché Objects? 227
Virtualizing large databases - VMware CPU capacity planning 223
WebTerminal Over Telnet Is Possible. Should It Born? (v5) Open Discussion. 186
Ways and methods of Accessing Relationships with SQL 177
Meet John Murray, InterSystems Developer Community Moderator 165
Can you crack the Black Box? 133
Most voted
I have created a class that extends file operation, but can't find the object that has the value for the file path. Is that object in pRequest or is there an another object I should be used to see that value?
Hi.
It is easy to receive JSON representation or dynamic Array from %ListOfDataTypes:
set l=##class(%ListOfDataTypes).%New()
do l.Insert("a")
do l.Insert("b")
do l.Insert("c")
set arrStr=l.$toJSON()
zwrite arrStr
set arr=l.$compose([])
zwrite arr
How to make backward conversion? How to receive %ListOfDataTypes from dynamic Array an JSON string?
I've tried
Here is an idea that would make the Developer Community immensely more valuable (to me anyway)
Have the capability of getting Listing output from searches or tags or groups.
In addition, have people put titles on their answers and comments,
And having a detailed list with all the answers and comments if needed
Then being able to sort the list by date or other criteria.
Something like:
Sub1 . . . .
-answer . . .
-comment . .
-answer . . .
Subject2 . . .
-answer . . .
Subject 3 . . .
-comments . . .
Hi, we are trying to deployed a changed schedule to our DEV instance (from our TST). And are getting an error:
Dear All,
I would like to block ADT_A18 and ADT_A47 HL7 2.3 messages with an empty MRG:1 field.
This is to prevent my current HL7 ADT router (Business process) sending blank Merges downstream.
I've attempted to create a business rule where this would return out the business role process. However the messages still loop though the other rules.
Any advice would be great.
Kind Regards
Stuart
Hello...
I need to convert a array (JSON) in a List Of String. I think, there is some method that does it directly.
Something like that:
SAMPLES>set list = ##class(%ListOfDataTypes).$fromJSON("[""a"",""b"",""c""]")
%FromObject+21^%Library.RegisteredObject.1 *%Exception.General Compose Compose %FromObject Unable to map frm %Library.Array instance to %Library.ListOfDataTypesI have reading about this but I don't found some trick to help me.
https://community.intersystems.com/post/how-convert-json-listofdatatypes
Thanks!!
I have a class with text property, which contains html text (usually pieces, so it may be invalid), here's a sample value:
<div moreinfo="none">Word1 Word2</div><br> <a href = "123" >Word3</a>
When I add iFind index on text, there are at least two problems:
How can I pass plaintext into iFnd index?
When posts are displayed on the DC homepage they only show the first part of each post. This part is known as the teaser, or the trimmed version. The DC software does its best, but without being given any hint by you it can sometimes produce teasers that are of limited value, e.g. "Hi!"
When composing your post, the Preview button lets you see what the teaser will look like. For example, here's the preview of an initial version of this post:
And if you want to take control, put the cursor at the point you want the teaser to end, then click this button on the editor toolbar:
Hi Community!
Please find the Developer Community video of the week:
Sometimes, it comes in very handy (especially for the EAV model) to use array properties in a class and be able to qickly search by their elements: both the key and the value.
Let’s take a look at a simple example:
Hi
I get always the following error when I query our FHIR repository with a specific TAG
/csp/healthshare/fhirserver/fhir/Encounter?_tag=
ERROR #5002: Cache error: <INVALID OREF>zSearch+86 ^HS.FHIR.Repository.Operations.1
I've deleted rows from cache database. On the table HS_FHIR_Repository_Resource.Encounter as we had duplicate records...
Any help would be great
Kind Regards,
Joao Palma
Hi everyone!
We have many severs (DEV, QA and LIVE) besides many other slave servers (about 133) that are running Caché instances. Before writing this utility myself, I would like to know if anyone has done it before. We need to change the SuperUser password and do other credential setups like this on all of these servers and we don't want to do it one by one.