Caché ObjectScript (COS)


Subscribe to Caché ObjectScript (COS) content with RSS Syndicate content or email

Using Embedded SQL in Caché Object Script Part #1

Embedded SQL is a tool that allows us to execute SQL statements in Caché Object Script.

118

views

+ 4

rating

How to add the case insensitive index to a class?

Hi!

Consider I have a class Package.Data with Property UniqueStringValue as %String.

I introduced the Index for this property:

6

views

0

rating

Upgradation Error

I tried to restore a backfile(.cbk) from ENSEMBLE 2010 version to ENSEMBLE 2009 version studio, it shows me "Class dictionary out of date, please run upgrade utility error $SYSTEM.OBJ.Upgrade()" message.

18

views

0

rating

Is there any way of paginate SQL Query in Caché?

Hi,

My doubt is about the SQL Query in Caché:

52

views

+ 1

rating

How common is it to utilize $ZSTORAGE?

While I can see the benefits that $ZSTORAGE could have if used properly, I have not seen it used in the environments I have worked in. I was wondering if there are any developers that promote its usage.

58

views

0

rating

Notepad++ Language Pack for COS?

Does there exist a User Defined Language pack for Caché ObjectScript for use in Notepad++? I'm hoping some friendly developer somewhere may have created one .

96

views

0

rating

Object script clarification

What is the difference between $case and $select?.Where places to use $case and $select?

75

views

0

rating

Lookup Time Complexity of a Global

If I were trying to access an index of a global variable, what time complexity would this operation have?

77

views

0

rating

What is the easiest way to include an INCLUDE at the beginning of each MAC routine

I am in the planning stages of making things more uniform in our routines and I would like to know what the easiest way would be to include an .inc at the beginning of each .mac routine.

84

views

0

rating

Using Named Pipes in InterSystems Caché

Points to remember before you start: 

  1. It is not possible in a COS (Caché Object Script) job/process context to have multiple Named Pipes. It is a one Named Pipe per job/process limited line of communication. 

  1. Named Pipes, in Caché, like most pipes on most operating systems are Unidirectional. That means you open them for either Read or Write, but not both. 

77

views

+ 2

rating

WebMethod - Issue with encoding (special character)

Hello guys,

I've got this piece of code which runs the method "WebMethod", that belongs to %SOAP.WebBase.cls.

122

views

+ 1

rating

Caché WebTerminal v4 Release

Greetings, InterSystems community!

I am pleased to announce that the web terminal project, Caché WebTerminal version 4 gets its release! After long period of enhancing this web application from 2013, it came to the version 4, which features major stability and security improvements, intelligent autocomplete and syntax highlighting, convenient SQL mode and a lot of other useful features.

The goal of this article is to spread the knowledge about this project over the InterSystems community.

434

views

+ 8

rating

Part I – Thoughts about package manager

Have you ever thought what could be a reason why some development environment (database, language) would eventually become popular? What part of this popularity could be explain as language quality?

212

views

+ 9

rating

Featured InterSystems Online Course: Caché ObjectScript Basics

Take this online course to learn the foundations of the Caché ObjectScript language especially as it relates to use in creating variables and objects in Caché. 

43

views

0

rating

Kyle Lists Common Problems and Their Solutions: 7 Reasons A Query Returns No Data

So I know it's been a while, and I hate to let my adoring fans down... just not enough to actually start writing again.  But the wait is over and I'm back!  Now bask in my beautiful ginger words!

129

views

+ 7

rating