InterSystemsDev via @like
💡 Utility to compare class and include file definitions between builds #CodeSnippet #InterSystemsIRIS #Caché #ObjectScript
http://ow.ly/hh0h30mJ6DK
http://ow.ly/hh0h30mJ6DK
InterSystems Developer Community
Utility to compare class and include file definitions between builds
The following code provides information about software builds. Read the original description below for information about the different methods:
///Description
///This class enables developers to
///Description
///This class enables developers to
InterSystemsDev via @like
💡 Routine that converts indices to bitmap indices #CodeSnippet #InterSystemsIRIS #ObjectScript
http://ow.ly/YIFx30mVxUz
http://ow.ly/YIFx30mVxUz
InterSystems Developer Community
Routine that converts indices to bitmap indices
(Originally posted on Intersystems CODE by @Iain Bray) The following code snippet converts all indices in a package to bitmap indices. The subroutine "test" runs the code:
ROUTINE iainbray.indexTo
ROUTINE iainbray.indexTo
InterSystemsDev via @like
Get a list of #Ensemble Lookup Tables and Schema documents in the current namespace #CodeSnippet #ObjectScript #HL7
http://ow.ly/QSYi30n7yTr
http://ow.ly/QSYi30n7yTr
InterSystems Developer Community
Get a list of Ensemble Lookup Tables and Schema documents in the current namespace
(Originally posted by @Benjamin.Spead on June 25, 2014)
This code snippet generates a list of Ensemble Lookup Tables and Schema documents in the user's current namespace. Run the code by running th
This code snippet generates a list of Ensemble Lookup Tables and Schema documents in the user's current namespace. Run the code by running th
InterSystemsDev via @like
Convert #UTF-8 encoded error files to #ANSI encoded files #CodeSnippet
>> http://ow.ly/f7BM30nmsPh <<
>> http://ow.ly/f7BM30nmsPh <<
InterSystems Developer Community
Convert UTF-8 encoded error files to ANSI encoded files
Hi All,I am converting UTF-8 encoded error files to ANSI files and for that I had written below piece of code. But I am not able to get ANSI encoded files.Code Snippets:Set tReadStatus = ""
InterSystemsDev via @like
Check the new #BestPractice on #DeveloperCommunity: Improve #SQL Performance for Date Range Queries
>> http://ow.ly/5dKf30ns2uJ <<
#Caché #CodeSnippet #WRC
>> http://ow.ly/5dKf30ns2uJ <<
#Caché #CodeSnippet #WRC
InterSystems Developer Community
Improve SQL Performance for Date Range Queries
Date range queries going too slow for you? SQL Performance got you down? I have one weird trick that might just help you out! (SQL Developers hate this!)*If you have a class that records t
InterSystemsDev via @like
Iterate over Business process activities #InterSystemsIRIS #Ensemble #ObjectScript #CodeSnippet
>> http://ow.ly/4biO30nNx9o <<
>> http://ow.ly/4biO30nNx9o <<
InterSystems Developer Community
Iterate over Business process activities
Recently I needed a classmethod that returns annotation value based on a name of a activity.As doing it at runtime seemed inefficient, I wrote compile-time utility that iterates over all business proc
InterSystemsDev via @like
InterSystemsDev via @like
💡 New Technology Example on #OpenExchange: Execute Server Commands from Caché / Ensemble / IRIS
>> http://ow.ly/Ee2u30nRRTo <<
#CodeSnippet #ObjectScript #Caché #Ensemble #InterSystemsIRIS
>> http://ow.ly/Ee2u30nRRTo <<
#CodeSnippet #ObjectScript #Caché #Ensemble #InterSystemsIRIS
InterSystemsDev via @like
Client for WebSockets based on Node.js 💡
>> http://ow.ly/5rW630nWJRB <<
#CodeSnippet #WebServices #Interoperability #Caché #Ensemble #InterSystemsIRIS #WebSockets #CSP #JavaScript #NodeJS
>> http://ow.ly/5rW630nWJRB <<
#CodeSnippet #WebServices #Interoperability #Caché #Ensemble #InterSystemsIRIS #WebSockets #CSP #JavaScript #NodeJS
InterSystemsDev via @like
A little about #Interoperability on #OpenExchange: WsockClient.csp 💡
>> http://ow.ly/Q6FG30ocbw9 <<
#CodeSnippet #WebServices #Caché #Ensemble #InterSystemsIRIS #CSP #JavaScript
>> http://ow.ly/Q6FG30ocbw9 <<
#CodeSnippet #WebServices #Caché #Ensemble #InterSystemsIRIS #CSP #JavaScript
InterSystemsDev via @like
💡 [#BestPractice on #DeveloperCommunity] Determine programmatically if unit tests failed #Caché #CodeSnippet #Testing 💡
>> http://ow.ly/VPzI50q03WH <<
>> http://ow.ly/VPzI50q03WH <<
InterSystems Developer Community
Determine programmatically if unit tests failed
I needed to know programmatically if last ran failed or not.After some exploring, here's the code:
ClassMethod isLastTestOk() As %Boolean
{
set in = ##class(%UnitTest.Result.TestInstance).%OpenId
ClassMethod isLastTestOk() As %Boolean
{
set in = ##class(%UnitTest.Result.TestInstance).%OpenId
InterSystemsDev via @like
[New Article on #DeveloperCommunity] ObjectScript error handling snippets #CodeSnippet #Caché #ObjectScript
>> http://ow.ly/FgnK50t9s3R <<
>> http://ow.ly/FgnK50t9s3R <<
InterSystems Developer Community
ObjectScript error handling snippets
ObjectScript has at least three ways of handling errors (status codes, exceptions, SQLCODE, etc.). Most of the system code uses statuses but exceptions are easier to handle for a number of reasons. Wo
InterSystemsDev via @like
Bash script to create #csv files for every global contained in a %GOGEN exported file from Caché #CodeSnippet #Caché
>> http://ow.ly/VVf450u3tMe <<
>> http://ow.ly/VVf450u3tMe <<
InterSystems Developer Community
Bash script to create csv files for every global contained in a %GOGEN exported file from Cache
Hello
I made for fun a bash script that creates csv files from a %GOGEN exported file.
%GOGEN, the utility for exporting globals for Cache 5.xx
First I thought it would be very simply with bash
I made for fun a bash script that creates csv files from a %GOGEN exported file.
%GOGEN, the utility for exporting globals for Cache 5.xx
First I thought it would be very simply with bash
InterSystemsDev via @like
[#OpenExchange] PHP module for working with hierarchical data in InterSystems IRIS >> http://ow.ly/6YfI50uoKF4
#InterSystemsIRIS #IRISforHealth #PHP #Caché #Apache #CodeSnippet #DevelopmentEnvironment #KeyValue #WebServices #Cloud
#InterSystemsIRIS #IRISforHealth #PHP #Caché #Apache #CodeSnippet #DevelopmentEnvironment #KeyValue #WebServices #Cloud
InterSystemsDev via @like
FTP file download (all files, no of files) Option: copy file or move file >> http://ow.ly/3wvY50uCt60
#Caché #ObjectScript #FTP #CodeSnippet
#Caché #ObjectScript #FTP #CodeSnippet
InterSystems Developer Community
FTP file download (all files, no of files) Option : copy file or move file
Method : to download the FTP file from intersystem cache : If you have any question please drop a message : ClassMethod FTPDownload(myFTP = "", myUserName = "", myPassword = "
InterSystemsDev via @like
Change passwords w/o going to web portal >> http://ow.ly/pEDx50uTsxV
#Caché #CodeSnippet #Deployment #Microsoft #Admin
#Caché #CodeSnippet #Deployment #Microsoft #Admin
InterSystems Developer Community
Change passwords w/o going to web portal
I've seen a few password change posts, but I wasn't 100% sure it was the same process, so I am asking here. We periodically have to change the passwords for a few Cache user accounts across several se
InterSystemsDev via @like
[#BestPractice on #DeveloperCommunity] Useful auto-generated methods >> http://ow.ly/RN3d50uU7m7
#InterSystemsIRIS #Caché #CodeSnippet #DataModel #ObjectDataModel
#InterSystemsIRIS #Caché #CodeSnippet #DataModel #ObjectDataModel
InterSystems Developer Community
Useful auto-generated methods
For each defined property, query or an index, several corresponding methods would be automatically generated on a class compilation. These methods can be very useful. In this article, I would describe
InterSystemsDev via @like
💡 The Double Indirection or Yet Another Way to Process Data Arrays in InterSystems IRIS >> http://ow.ly/tPtw50uWvkA
#InterSystemsIRIS #Caché #ObjectScript #CodeSnippet #Docker #OpenExchange
#InterSystemsIRIS #Caché #ObjectScript #CodeSnippet #Docker #OpenExchange
InterSystems Developer Community
The Double Indirection or Yet Another Way to Process Data Arrays in InterSystems IRIS
Hi guys!Portrait of Madame X, Gustave Caillebotte.One of the features I like in InterSystems ObjectScript is how you can process array transformations in a specific method or a fu
InterSystemsDev via @like
[#BestPractice on #DeveloperCommunity] Writing better-performing loops in Caché ObjectScript >> http://ow.ly/RsTC50v0ZwE
#Caché #ObjectScript #CodeSnippet #CodingGuidelines #TipsAndTricks
#Caché #ObjectScript #CodeSnippet #CodingGuidelines #TipsAndTricks