Robert Cemper · Sep 15, 2017 go to post

WebServerPort =
Web Server port number. Setting this number to any non-zero value enables the Web Server on that port. If you set this number to 0, the Web Server is disabled.

Robert Cemper · Sep 15, 2017 go to post

in namespace ENSDEMO use Demo.Dashboard.Production as an example for repeating calls

Robert Cemper · Sep 15, 2017 go to post

if you disable authentication  for  Username / PW you always come in as "UnknownUser"

in Mgmt Portal go to  System > Security Management > Users > Edit User for "UnknownUser"

and set Startup Tag^Routine:  ^%zmyLOGIN
and then do your own authetication.

if you intend to go to Prorammer Mode you just have to call "do ^%PMODE" at the end.
otherwise the terminal closes.

Robert Cemper · Sep 15, 2017 go to post

Conversion of XML to objects is a standard function in Caché.
start with http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…

and continue http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…

the principle steps

  • generate a package o classes from XML Schema
  • import your XML File to this package
  • - - -  change whatever you want to change
  • use %XML.Writer  to generate a new export file.

a different approach could be to use XSLT to transform your XML file
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…

Whatever better fits to reach your goal.

Robert Cemper · Sep 14, 2017 go to post

Take the example from %Net.SMTP to SAMPLE or USER independent of any ENS*

http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?…

and see if it runs on all 3 instances to verify SMTP access.
If it fails you may take a closer look to your firewalls  outgoing  and on SMTP server incoming.

If this works on all 3 instances than your config in ENSEMBLE is somehow different .

OR

in SAMPLES use Class Cinema.Utils. SendEmail(...) and adjust is to your needs

~~~

Robert Cemper · Sep 14, 2017 go to post

- For  JAVA take a look on IRIS or today to XEP ( which is incredible fast )
- For JavaScript you have nodes.js / cache.node  (also speedy)
- C#  lives by it's Windows bound libraries. 

Robert Cemper · Sep 14, 2017 go to post

another disapointment.  
eventually a THANKS icon instead of the HOOK would help ?

Robert Cemper · Sep 12, 2017 go to post

I haven't seen $mvv(58) before in any CSP application.
So this might be an action for WRC to find out why / where it is lost

Sorry,

Robert Cemper · Sep 11, 2017 go to post

I'm not sure this really your problem. It could be. 

The first TEST should be your Mgmt Portal.

Language definitions are predefined and loaded at installation time.
to change it later from Mgmt Portal: 
System > Configuration > Locale Definitions 

If you run on UNICODE it should be enough to change it to PTBW - Portuguese, Brasil, Unicode (comboBox)

ending 8 = 8 bit encoded
ensing W = WIDE = Unicode

If your system is any 8bit installation. Someone else may have an answer. It may cause some troubles on a running installation. I never touched this.

Robert Cemper · Sep 11, 2017 go to post

my personal experience in management portal:

changed my primary browser language from  "de"  to "en"  and the portal followed at next browser start.

So this might relate to ZEN somehow:
Do you use the $$$TEXT equivalent of ZEN ? $$$TextJS, $$$FormatText

for details and how-to see http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY…

Does your Caché NLS seting support pt-br  ?  (mine includes German DEUW)

Robert Cemper · Sep 11, 2017 go to post

Rodrigo is right:

http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?…

says:

 

• property Language as %String;

The language (RFC 1766 format) in which pages in this CSP session are to be displayed.
The %session. Language attribute is used as the default language for csp:text, span and div tags if %response.Language is not set. If %session.Language is not set by the program, then it will default to the best fit with the HTTP_ ACCEPT_LANGUAGE CGI variable.

Robert Cemper · Sep 10, 2017 go to post

You hit the point:

Transparency is important.
Not be forced to use it but as an offer to developers  to make the underlying mechanics visible

Robert Cemper · Sep 10, 2017 go to post

Thank you Athanassios! 
I see these cycles everywhere. Almost every relational DB today has its B-tree index. Well known here since DSM-11.
Similar when I did an evaluation of HBase and scratched a little bit under the surface : I found a tiny Global structure
with limited subscripts.
You are right there is a lot of power left for new development on this base.

Robert Cemper · Sep 10, 2017 go to post

Hi Rich,

I remember we met several times @internal meetings and @Devcon / Summit.
The common branch of M and MV might be The Ubiquitous B-Tree - 1979 by Dougles Comer.
On the other hand mid 60ties it was time to have something new to support creative and faster development.
So they might quite well taken ideas from each other.
So as you find many lingual constructs that are pretty similar to Java.
Don Nelson didn't pass my way. But I have a personal gap from '85 to '99 where I was on a complete different road.

Robert Cemper · Sep 9, 2017 go to post

You are right. We were happy writing a whole operating system in Assembly language (VAX/MACRO32) and we found it partially overdone compared to PDP-11/MACRO16. But we knew exactly what every bit in our box did. Not even C could give us that level of control.

I personally think a programming language reaches its limits when only a low percentage of developers still oversee it.
Therefore I think your idea to have a new layer on top of COS is much better as it doesn't impose any limitations that are required for backward compatibility.
So you are free to take with you what seems useful and leave behind old junk.

COS contains a real bad example that causes troubles over and over for beginners:
IF  / ELSE old style manipulating $T   vs.   IF { } ELSE { } new style not touching $T 
and some others

That must no happen again. With a new layer you leave this behind and have all freedom.

Robert Cemper · Sep 9, 2017 go to post

I think this should be the way to go: "New language translated  to COS"
And I'm sure it would be better than the ugly attempt to map COS into HTML as done in CSP winksad  
yes

Robert Cemper · Sep 8, 2017 go to post

it is a way to access a Cache method from .NET 
search online  doc on .NET binding

Robert Cemper · Sep 8, 2017 go to post

Maks I fully support your position.
There are very few languages where you can run code written  40 yrs. ago with no modification !
That's what counts for customers.

You have other languages in parallel like MV or BASIC besides all the embedded things like &SQL(), &HTML(), &JS()..

But with same reasoning you may ask why is Java, JavaScript  or C, C# not changed?
Because you got GO, Angular, ..... to have attractive extensions.
COS has it's ZZ*, $ZZ* as extensions.  ( ZZ* ! )

Isn't this enough for thousands of developers that haven't asked for it nor have a need  for it?  

Robert Cemper · Sep 7, 2017 go to post

$system.SQL.Shell()  is bypassing ODBC Driver and talks directly to Caché Storage
an external query tool expects to get a MAXLEN by definition of ODBC  (ages back).
So this is a matter of backward compatibility.
Pls. check the grey hook left of ANSWER to confirm questions as done

Thx.