Found in:
- atelier-1.0.0AT.142.0
- Cache for UNIX (Apple Mac OS X for x86-64) 2016.2 (Build 636U) Wed Apr 13 2016 21:07:40 EDT
Breaks on FOR SOME when using a table reference:

Found in:
Breaks on FOR SOME when using a table reference:

Now that 2016.1 has been released I would like to draw everyone's attention to the Ensemble release notes that describes the new features.
Is there a way to manually compile a class or package without having to save?
Using the perforce integration I did a "Undo Check Out" and the code was revered but not compiled.
CLARIFICATION: From the Atelier UI.
I have a Cache classes with %TimeStamp (e.g. 2016-04-18 12:29:11) and %Date (eg. 64027) properties. And I have a javascript client app, which needs full CRUD over this properties.
But in javascript date/time are defined by ISO8601 (e.g. timestamp 2016-04-18T12:29:11Z, date 2016-04-18).
Does Caché support SQL CREATE SEQUENCE as in PostgreSQL?
If not, what would be the best alternative? Create my own sequence logic as the example bellow?
Class Util.MySequence Extends %Persistent [ ClassType = persistent, ProcedureBlock ]
{
Property dummy As %String;
Property myvalue As %Integer [ Calculated, SqlComputeCode = { Set
{myvalue}=##class(Util.MySequence).CurrentValue()}, SqlComputed ];
ClassMethod CurrentValue() As %Integer
{
s x=$I(^MySequence)
Quit x
}
Method myvalueGet() As %Integer [ CodeMode = expression ]
{
..CurrentValue()
}
}
Thanks.
Greetings.
I'm currently struggling with launching a routine from the command prompt using ccontrol.
Basically I have a routine with a parameter which works fine using the following:
ccontrol cterminal ^ANDYTST(\"c:\temp\\\") USER
This receives c:\temp\ then in the routine.
However, when there is a space inside the parameter it assumes that it receives a script.
I can still run it using ccontrol terminal, but that then tells me the argument is invalid.
Therefore, is there something like a placeholder for whitespaces?
And, is it possible to hand it the credentials?
Hi!
In every Atelier project you can find following hidden files:
.buildpath
.version
.connection
.project.
Should I include all of them into commit?
I understand that .project is mandatory. But what about the rest? Is there any general rule?
F.e. if we work in team and everybody has their own connection on locale machine .connection should not be included. Yes?
Hi!
Please find all the source code Global Summit 2016 Sessions and Experiences in following GitHub repositories:
Codes are in UDL form which is native to Atelier IDE.
Here is small guide how you can check out this project into your Atelier:
Let's see how to load code directly from GitHub URI.
Open Atelier. Go to File -> Import -> Git -> Clone URI
2. Specify URL for repository and press Next
3.
MessagePack is a binary-based efficient object serialization library. It enables to exchange structured objects between many languages like JSON. But unlike JSON, it is very fast and small.
Any chance of adding support for MessagePack?
Hello,
For CachéQuality I'd love to be able to create issues when the programmer uses classes which are deprecated for this or that version of Caché... But short of reading all the changelogs of all versions, I can't really tell when a command appeared (for instance RETURN; I know now that it appeared in 2014.x, but it took me some time to realize that), or when a (set of) class(es) became deprecated (for instance %GlobalCharacterStream to be replaced with %Stream.GlobalCharacter -- I don't even know since which version this is true :/).
Is there an existing source which I am missing?
This is handy when debugging errors with a line reference and complex macros.
Hello,
I hereby announce the creation of an IRC channel dedicated to Caché development:
* network: FreeNode (connect to server: irc.freenode.net)
* channel: ##cos (yes, two hashes).
Topic is anything related to Caché development in spite of the name (and the fact that of Caché development I only really know about COS anyway), so sorry in advance for the restrictive channel name :)
Waiting for you here! (my nick is idletask on freenode)
Side note: that would be a good opportunity to launch a project of an IRC bot in COS.
Hi,
I'm trying to create an Ensemble workflow with a custom task form that includes a dynaform zen component.
Is it possible to do that? Any sample code?
Thanks for your help
Blaise
I am happy to share the news that Zen Mojo 1.1.1 has been released. This release includes many improvements and bugfixes, the most important are:
During a fine breakfast at Global Summit 2016 I was asked about the %DEFAULTDB database that now appears when creating the %ALL namespace. Until the documentation on "Mapping a Package Across Multiple Namespaces" is updated to include the use of subscript level mapping for all namespaces here is a brief explanation for this change in 2016.1: When creating a global subscript level mapping in the %ALL namespace the database that was used for the non-subscripted global could not be set to be the default database for each namespace.
Hello everyone,
I have discussed extensively with Andrew Cheshire, the author of the Atelier parser (which I'll be able to hack on and reuse for CachéQuality -- yay!), and while we were at it, we also discussed code coverage.
We ended up talking about the ZBREAK command and its /TRACE option.
It appears that combining this command and the unit test runner, we can indeed do code coverage (Andrew also told me about a way to map "back" routine lines to original lines in the source code).
Presenter: Danny Wijnschenk
Task: Help people make better decisions by letting application deal with all the data.
Approach: As an example, we’ll extend a demo asset management application for portfolio and trade compliance, using iKnow technology to translate agreements into rules that ensure portfolio compliance prior to trade execution.
In this session, we’ll discuss how easy it is to extend a classic application that deals with straightforward transactions, to also offer insights and actions based on more complex, unstructured data. We’ll present a use case on portfolio compliance from the financial services industry.
Content related to this session, including slides, video and additional learning content can be found here.
Presenter: Rich Taylor
Task: Use an LDAP schema that differs from the provided default
Approach: Give examples of customized LDAP schema development, using LDAP APIs and ZAUTHORIZE
In this session we explore the various options of for working with LDAP as an authentication and authorization framework. We will look beyond the simple LDAP schemas into working with more complex LDAP configurations that incorporate application level security information.
Content related to this session, including slides, video and additional learning content can be found here.
Presenter: Andreas Dieckow
Task: Securely store sensitive information
Approach: Give examples of data-at-rest encryption and data element encryption
Description: In this session, InterSystems will showcase how to use API calls to programmatically do everything using your own scripts. This approach is highly effective if you have recipe based settings and configurations that you would like to roll out in a controlled and fast fashion.
Problem: Implement Security relevant information correctly and how. Examples are Credit Card information, Sensitive information (e.g. SSN, Classified Information)
Solution: Data-at-rest encryption and data element encryption
Content related to this session, including slides, video and additional learning content can be found here.
Presenter: Andreas Dieckow
Task: Apply SQL security to multiple servers in a distributed system
Approach: Provide code samples for using new API calls to apply SQL security statements to multiple instances of our products
Description: The requirement that started at all. See examples on how to use this new feature and integrate it into your application by discuss code examples.
Problem: SQL Security is local to the instance and most of time driven by customer application code. That it is only local to the instance and is not automatically going to other instances requires a solution.
Solution: With application code use new API calls to issue SQL security statements that is applied to multiple instances.
Content related to this session, including slides, video and additional learning content can be found here.
Presenter: Joe Gallant
Task: Create a good analytical data model
Approach: Discuss what makes a good analytical data model. Provide examples of using DeepSee’s APIs for building custom dimensions, measures, and KPIs
Data models are the foundation of effective analytics. This session focuses on the factors that make good analytics data models.
Content related to this session, including slides, video and additional learning content can be found here.
I interested on how others feel on this subject. In general terms when you have a class that extends from %XML.Adaptor and you call XMLExport no validation is automatically done as part of the XMLExport process. As an example if you do the following
SAMPLES>S tPatient=##Class(Sample.Person).%New()
SAMPLES>Set tPatient.Name="asdfghjklqwrrrrokkfkljbvkfbjflkbjflkbjblkjblkjdblkjblkcn l nn klkjdfkbjdlkbjlkbj"
SAMPLES>w tPatient.XMLExport(,",indent")
<Person>
<Name>asdfghjklqwrrrrokkfkljbvkfbjflkbjflkbjblkjblkjdblkjblkcn l nn klkjdfkbjdlkbjlkbj</Name>
</Person>
where tPatient.
Hi,
IHAC who is trying to connect Ensemble to Quadramed for HL7 messaging, however, it seems that in order to do this, the following is required:
"we open a passive connection to Quadramed and then listen for a connection request from Quadramed, once this is established we then send messages"
Has anyone done this before? Is this possible with the standard HL7 components?
Thanks,
Steve.
Learn how to start troubleshooting productions.
Please use the following link to see all Global Summit 2016 sessions and links to additional content, including session materials.
Hello community!
Two new rules have been implemented:
This rule detects when the body of a method contains two or more of the following statements:
set $namespace = something, orznspace something.If this is the case, it then checks whether there is a new $namespace prior to those two declarations; if not, it raises a warning.
List of issues currently found here:
When I check for updates from by 1.0.116 I get this:
Hello!
Link: https://demo.cachequality.com
In this presentation, developer oriented, we will cover this tool, how it works, how you can use it/administer it, etc. Duration 30 minutes.
The topics will include:
Questions will be more than welcome! Hope to see you there!
And a big thanks to Evgeny Shvarov who made this possible!
Does anyone know any sites who configure an async reporting member to connect to two different failover mirroring sets ?
I know this is supported, but I would like to know how it is working in real world systems.
Any information would be appreciated.
Here's my code (download):
Class Utils.Generators [ Abstract ]
{
ClassMethod B()
{
s ^a = 1
}
ClassMethod A() [ CodeMode = objectgenerator, GenerateAfter = B, PlaceAfter = B ]
{
k ^a
do ..B()
}Now, obviously for it to work I need method B compiled and ready to use before compiling method A().
I test it with the following code:
do $system.OBJ.UnCompile("Utils.Generator")
do $system.OBJ.Compile("Utils.Generator")Yet, I receive the following compilation error:
Compilation started on 04/10/2016 18:39:04 with qualifiers '' Compiling class