go to post Krishnaveni Kapu · Mar 31 Is there a way to get the calling method name ? If a methodB() is invoked in MethodA() ; In MethodB() , I would like to print the calling method name i.e., MethodA()
go to post Krishnaveni Kapu · Mar 28 Status OK and the cnt as empty (I am expecting the count) ------------------------------- Set resultset = ##class(%ResultSet).%New("%DynamicQuery:SQL")set sql = "SELECT COUNT(*) AS CNT FROM "_tableName_" WHERE "_fieldName_">='"_fromDate_"' AND "_fieldName_"<='"_currentDate_"'" SET SC = resultset.Prepare(sql) $$$LOGSTATUS(SC)SET SC = resultset.Execute(sql)$$$LOGSTATUS(SC) if (resultset.GetData(1)>0)$$$TRACE("cnt="_resultset.GetData(1)) -------------------------------
go to post Krishnaveni Kapu · Mar 28 set sql = "SELECT COUNT(*) FROM "_tableName_" WHERE "_fieldName_">='"_fromDate_"' AND "_fieldName_"<='"_currentDate_"'" SET SC = resultset.Prepare(sql) SET SC = resultset.Execute(sql) Set recordsDeleted = resultset.GetData(1) $$$TRACE("recordsDeleted="_recordsDeleted) Tried this , its not displaying the count ;
go to post Krishnaveni Kapu · Mar 4 Hi Eduard, I have a scheduler task and associated class that works. Class Sample.Util.CreateTask Extends (%SYS.Task.Definition, %Persistent){ Parameter PROPERTYVALIDATION = 1; Parameter TaskName = "Sample.Util.CreateTask"; Method OnTask() As %Status{// Perform the logic} } Is there a way to Enable or Disable the abbove task "CreateTask()" from an external function/Method/class ?
go to post Krishnaveni Kapu · Sep 27, 2024 I tried using "w" also "wt" - no luck. Below is the version that I am using IRIS for UNIX (Red Hat Enterprise Linux 7 for x86-64) 2022.1 (Build 209U) Tue May 31 2022 12:13:58 EDT [HealthConnect:3.5.0] [HealthConnect:3.5.0]
go to post Krishnaveni Kapu · Sep 20, 2024 My target is an .xsd which I read it from Target class - EnsLib.EDI.XML.Document
go to post Krishnaveni Kapu · Sep 3, 2024 I have tried this but it is not giving current time , an hour back it displays.
go to post Krishnaveni Kapu · Jun 17, 2024 It worked : set status = pRequest.XMLExportToStream(.XmlStream) Do httpRequest.EntityBody.CopyFrom(XmlStream)