Robert Cemper · Sep 23, 2024 go to post

it would be great if the issues in building Docker container would be fixed.
so we can touch it and reduce frustration of evaluators first
Actually it is broken,  Issues pending since some days

Robert Cemper · Sep 23, 2024 go to post
  • is there anywhere a working example using the template ?
  • or a hint of how to apply it ?
Robert Cemper · Sep 18, 2024 go to post

Your code looks like a ClassQuery.   %Library.Query

This is not a Stored Procedure  :=>  a ClassMethod ...[SqlProc,SqlName=anyname]  

and everything happens inside this ClassMethod
you run is by CALL PROCEDURENAME

Robert Cemper · Sep 13, 2024 go to post
if$d(^|"%SYS"|CONFIG("Namespaces"," "))
 forset ns=$o(@$ZR) quit:ns=""write ns,!  ; or do whatever you intend
Robert Cemper · Sep 12, 2024 go to post

Oh dear !
I started with DSM 1.0  in 1978  and met Terry in the kick-off training for support in Mainard.
It was a great experience to me. 

Robert Cemper · Sep 11, 2024 go to post

ÍD is an reserved name in IRIS / Ensemble
in fact as you describe it, it is rather a KEY than a typical ID
so this query may serve your needs

SELECT LIST(Value) WHERE KEY=11 

SELECT LIST(Value) WHERE KEY=12

Robert Cemper · Sep 4, 2024 go to post

Congrats:
I like your code example that demonstrates deep understanding of the DB concept.
 💪

Robert Cemper · Sep 3, 2024 go to post

From docs:

tformat = 1  >>> Express time in the form "hh:mm:ss" (24-hour clock).
W $ZTIME(338,1,)
00:05:38
W $ZTIME(338+43200,1)
12:05:38

My guess: You look for this
​​​​​​​W $tr($ZTIME(338,3),"AM")
12:05:38

Robert Cemper · Aug 18, 2024 go to post

with   set pSettings("From_Source_Rec_Job","Adapter...

you pass a String literal

assuming the value of your variable  str = From_Source_Rec_Job

then    set pSettings(str,"Adapter","FTPPort")=2022 

should be sufficient

Robert Cemper · Aug 16, 2024 go to post

iris | 08/15/24-05:47:48:778 (828) 3 [Utility.Event] Error while moving data directories

ERROR #5001: Cannot create target: /shared/durable/

You may have some file protection issue

Robert Cemper · Aug 8, 2024 go to post

on Windows use  $$$installdir\bin\iris.exe 

  • iris stop <instance-name>
  • iris start <instance-name>

for instance-name use iris list 

Robert Cemper · Aug 2, 2024 go to post
  • a zen page definition creates a class (just like CSP)
  • the runtime of this class is an INT routine.
  • Anr there is hidden the truth of JS and COS

     

Robert Cemper · Jul 31, 2024 go to post

ZENpages load a bunch of dedicated js libraries + scripts in browser for it's communication
Suggestion: create a simple ZEN page and check js libraries and scripts used. 

Robert Cemper · Jul 29, 2024 go to post

not so much need of a SET class in ObjectScript

  • every local variable array or a global allows alphanumeric subsriüpts up to size 255
  • those subscripts are unique
Robert Cemper · Jul 25, 2024 go to post

Using my previous reply you can do this without need of any custom object:

SAMPLES>read xml
<?xml version="1.0" encoding="UTF-8"?> <session> <session_Id>124364</session_Id> </session>
SAMPLES>set rdr=##class(%XML.Reader).%New()
SAMPLES>do rdr.OpenString(xml)
SAMPLES>zwrite%SAX=1%SAX(1)=2%SAX(1,0)=""%SAX(1,1)="1"""%SAX(1,2)="!>A"%SAX(1,"N","http://www.w3.org/2001/XMLSchema-instance")=1%SAX(1,"d")=4%SAX(1,"d",1)="session"%SAX(1,"d",2)=" "%SAX(1,"d",3)="session_Id"%SAX(1,"d",4)=124364%SAX(1,"n")=1%SAX(1,"n",1)="http://www.w3.org/2001/XMLSchema-instance"%SAX(1,"v")=6
rdr=<OBJECT REFERENCE>[1@%XML.Reader]
xml="<?xml version="1.0" encoding="UTF-8"?> <session> <session_Id>124364</session_Id> </session>"
SAMPLES>
Robert Cemper · Jul 25, 2024 go to post

edited and simpler

  • if this has an XMl header  <?xml version= ...
  • then ##class(%XML.Reader).OpenString(yourxmlstring) will deposit your input in the local aray %SAX()