go to post Robert Cemper · Sep 18, 2024 Your code looks like a ClassQuery. %Library.Query This is not a Stored Procedure :=> a ClassMethod ...[SqlProc,SqlName=anyname] and everything happens inside this ClassMethodyou run is by CALL PROCEDURENAME
go to post Robert Cemper · Sep 18, 2024 I use it since Caché 2014.* at least.this just the latest documentation.What's the purpose of the semicolon ? SELECT Name,Home_State FROM Sample.Person ;for TEMP table see: https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls?KEY=RSQL_createtable#RSQL_createtable_desc_temp Before collecting all pieces in the Stores ProcedureI'd suggest to test you queries isolated im SMP or from terminal in SQL shell
go to post Robert Cemper · Sep 18, 2024 UNderstand a STORED PROCEDURE as a special case of a ClassMethodusing CREATE PRODURE .......LANGUAGE OBJECTSCRIPTYou can write it with all specials you needsee docs: https://docs.intersystems.com/iris20242/csp/docbook/Doc.View.cls?KEY=RSQL_createprocedure
go to post Robert Cemper · Sep 13, 2024 if $d(^|"%SYS"|CONFIG("Namespaces"," ")) for set ns=$o(@$ZR) quit:ns="" write ns,! ; or do whatever you intend
go to post Robert Cemper · Sep 12, 2024 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.
go to post Robert Cemper · Sep 11, 2024 ÍD is an reserved name in IRIS / Ensemblein fact as you describe it, it is rather a KEY than a typical IDso this query may serve your needs SELECT LIST(Value) WHERE KEY=11 SELECT LIST(Value) WHERE KEY=12
go to post Robert Cemper · Sep 11, 2024 @Mary George there is one. I just posted a cross namespace cross CLS, MAC; INT, INC searchhttps://community.intersystems.com/post/code-scanner It's pretty fast just using COS and Globals. No class.
go to post Robert Cemper · Sep 4, 2024 Congrats:I like your code example that demonstrates deep understanding of the DB concept. 💪
go to post Robert Cemper · Sep 3, 2024 From docs: tformat = 1 >>> Express time in the form "hh:mm:ss" (24-hour clock).W $ZTIME(338,1,)00:05:38W $ZTIME(338+43200,1)12:05:38My guess: You look for thisW $tr($ZTIME(338,3),"AM")12:05:38
go to post Robert Cemper · Sep 2, 2024 set time="2023-09-28T20:35:41Z" write $TRANSLATE(tine,"-:TZ") 20230928203541
go to post Robert Cemper · Aug 18, 2024 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
go to post Robert Cemper · Aug 16, 2024 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
go to post Robert Cemper · Aug 15, 2024 Studio has a feature to expand / compress ObjectScript CommandsAdvanced Editingthis might be a starting point.
go to post Robert Cemper · Aug 9, 2024 You mentioned IIS.Are you sure IIS is listening at port 57772 ? And: http://localhost:57772/csp/sys/UtilHome.csplooks like the old call to private Apache
go to post Robert Cemper · Aug 8, 2024 on Windows use $$$installdir\bin\iris.exe iris stop <instance-name> iris start <instance-name> for instance-name use iris list