Hi All,Now I installed the Cache 5.0 that terminal is not open can any one know the default username and password for Cache 5.0
Hello, guys.
I need to find all web files, get their content in UDL format and to be able to export them. And, vice versa, to be able to import them in udl format.
I know that they are located in CSP folder. However, is there any way to do this using COS functions?
Hello community!
Is there any method/property/way in Caché to obtain something like unique identifier for installed Caché system? The idea is to get the identifier that will differ on any other installation/machine/etc, but will forever remain the same for the current installation, even if $zv changes (in case of update) or any data is removed from the database.
Hi -
I have 3 classes: "Class A" has a property X, "Class B" has a property which is a Class A, and I have a "Class C" which has a property of a Class B.
Class A definition
Class USER.ClassA Extends %Persistent
{
Property Propx as %String;
}
Class B definition
Class USER.ClassB Extends %Persistent
{
Property Record as USER.ClassA;
}
Class C defintion (which is where I'm having my problem)
Class USER.ClassC Extends %Persistent
{
Property BRecord As USER.ClassB;
Property ARecord As USER.ClassA [ Calculated, SqlComputeCode = { ????? }, SqlComputed ];
Method ARecordGet() as USER.ClassA
{
quit .
write "5apples" + "7 orange" //Ans :12
Values are string , why add numeric value . its an error or correct . please tell me.
I ran %GSIZE and my ^cacheStream global is very large. How do I go about
1. Evaluating what data is in the global.
2. Clean it up.
Thanks!
Has anyone configured Zen Reports/FOP to support png images? If you have, could you please share the library that you used, the configuration required, and whether it was worth it (vs converting images to one of the natively supported formats)?
Hello,
I am working on a Rest Service that should accept a particular content type. How and where can I set the value?
I have tried setting the value %response.ContentType by overriding Page method OnPreHttp() but from what I see this method never got executed.
Thanks
Raghu
I try it with the COLLATE instruction, but doesn't work.
Any ideas ?
Tkanks.
Hi,
We are trying to implement a client side data provider as a component (ZEN) that will use JQuery to do rest calls to a desired URL, in this case, a %CSP.Rest service implemented by ourselves.
This component will be used within our application that is authenticated with a correct user configured on Caché management portal and therefore using one license unit. As we are using a Ajax call from client side this connection creates a new session that will use a new license.
Hi all,
For custormer support reasons we would like to know if its possible to activate some kind of flag or see/redirect wich is the code (lines) being executed when some misterious problems appear.
Is there any way to view the stack of execution code on a deployed code environment? Is there any other equivalent way to track the execution stack for a certain period of time?
Best regards
Is there an API I can call to determine the size of a routine in a CACHE.DAT file so that I don't have to directly reference the ^ROUTINE global?
Given the following data type:
<DataType name='TN' description='telephone number'>
<DataSubType piece='1' description='telephone number'/>
</DataType>
What is the point in setting a
NewBie's Corner Session 17 New command
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
New command
The New command limits a variable's scope or range of use. In theory the New command is simple, in reality the New command is powerful and needs to be respected and understood. In Caché ObjectScript and MUMPS an entire chapter is devoted to it.
We have an incoming ADT adapter and the ACK MODE is set to IMMEDIATE. This is what the docs say:
An inbound ACK shows up as a square in the visual trace. These do not. How can I view them?
Please Explain "$h"
Did some searching online with no luck. In Studio, is it possible to add comments to .HL7 schema files? For instance
//or maybe this is
<MessageStructure name='ACK' definition='MSH~MSA~[~ERR~]'/>
Difference Between Macro and routine?
I wrote a macro in studio. Its how to run with Terminal.
do macro name ^filename is correct are not
what are the difference between Deepsee and Ensemble , and how to access the ensemple .Please Tell me
Sir, please give a sample program for cache with database . It is useful for my individual learning.
Can anyone explain me how to create a dynamic session in CSP?
Process-private Globals can be used as a data global in storage definition. That way, each process can have its own objects for the class with ppg storage. For example lets define a pool, which can:
- add elements to a pool (ignoring duplicates)
- check if an element exists in the pool
Here's the class:
/// Stores unique identifiers
Class Utils.Pool Extends %Persistent
{
Property Value As %String;
Index IDKEY On Value [ IdKey, PrimaryKey, Unique ];
Method %OnNew(Value As %String = "") As %Status [ Private, ServerOnly = 1 ]
{
Set .I am learning cache in beginning level . But confused .Give an idea for how to i learn cache easily and improve programming level
We want to isolate the storage of our CCDAs from our HL7 V2 data, but keep them under the same namespace. From my understanding, I should create a new database then store those classes related to CCDAs in that database. Is this the correct approach?
I'm running into difficulty calling a javascript method from a Zenmethod. I pass in a parameter, but in the javascript method the parameter is undefined. Here is the code:
...
...
{
//do save code here
&js<
NewBie's Corner Session 16 Introduction to New Concepts
Welcome to NewBie's Corner, a weekly or biweekly post covering basic Caché Material.
A number of new concepts are introduced in this session that will be developed more fully in subsequent sessions. It is necessary to at least introduce these concepts here because they are all interrelated.
Older style of MUMPS Programming
A routine has access to all the variables it creates. When Routine-A calls Routine-B and Routine-B calls Routine-C, and so forth, this is known as a Call Stack.
Problem: I have a REST broker, and if I hit a code block, which does IO redirection, the REST reply becomes broken in one of the following ways:
- Binary output
- No output
- First 4096 characters of the reply are missing
Consider the following REST broker:
Class A.REST Extends %CSP.REST
{
XData UrlMap
{
<Routes>
<Route Url="/Test/:redirect" Method="GET" Call="Test"/>
</Routes>
}
ClassMethod Test(Redirect As %Boolean = {$$$YES}) As %Status
{
Set str = $TR($J("",4098)," ","1") // Get a string with the length of 4098 symbols
Do:Redirect .Creating and working with the new SDA extensions for storage of custom data elements
In HSCore 15.01, there is a new way to store custom data elements. HealthShare now had the ability to use custom extensions on many SDA elements.
This article will:
- Show how to set up your system to use SDA extensions
- Create a new SDA extension property
- Use the new SDA extension property in HL7 transactions
- Interact with the new data
- Show new SDA extension used in a customization of Patient Summary Report
Caché Server Pages Version 2016.1.1.108.0
Error Condition The processing of the request was interrupted
CSP application closed the connection before sending a complete response"
<html>
<head>
<title>User input </title>
</head>
<body>
<script language="Cache" runat="server">
r "enter 1ST num",x
r "Enter 2ND num",y
s z = x+y
w z
</script>
</body>
</html>

