go to post john.smith4237 · Mar 21 Thanks you very much that one worked. The reason why I'm asking this is because I'm using the below code to connect & download files from AWS and it works fine but after using it say 100 times it stops and can not create the client, and if I stop & start Java Server it start working again not sure why !? set file="/Persistent/US-SERENITY/AWSCredentials" set endpoint="https://s3.amazonaws.com" s tStatus="" s output="" s res=##CLASS(%Net.Cloud.Storage.Client).CreateClient(,0,file,"us-east-1",.tStatus,endpoint) s list=res.ListBuckets() set list=res.ListBlobs("vibjson") if (res.BlobExists("vibjson",JobId_".json.gz")) { d res.DownloadBlobToFile("vibjson",JobId_".json.gz","/Persistent/S3DOWNLOADS/"_JobId_".json.gz") S output="/Persistent/S3DOWNLOADS/"_JobId_".json.gz" } D res.Close() q output
go to post john.smith4237 · Mar 18 you mean Java or Javascript?This same code is running fine in Ensemble 2018 in windows, but now we moved to IRIS 2024 in Linux we are getting this error!?
go to post john.smith4237 · Mar 6 I tried to export my Zen report to PDF but didn't work. here is my report ClassMethod GeneratePdf() As %String{Set Fpath="D:\ItemRpt.pdf"//Set Fpath="D:\ItemRpt"Set obj=##class(Business.Report.BSReport).%New()Set ret=obj.GenerateReport(Fpath,2)Quit ret}
go to post john.smith4237 · Jan 2 LIST didn't work but the Join did, thanks you very much Robert. As I recall, Nest queries didn't work well if all in the old Cache versions so not sure if they improved it !?
go to post john.smith4237 · Nov 1, 2024 Hmm, is there a way or a call that I can make to maybe loop through and expand all nodes?
go to post john.smith4237 · Oct 25, 2024 Never mind guys there was an extra spaces causing the problem
go to post john.smith4237 · Sep 29, 2024 Thanks Rodolfo looks good now.I thought that the fact I'm using write command (W response) , the response would always be text type ? Thanks
go to post john.smith4237 · Aug 14, 2024 Yep I know that but that doesn't help in my case, because I need the most specific in a separate database and as i mentioned I have more that 100 classes (globals) so yes I can map and specify my Global.pkg.MyClassGlobal in the new database but I already mapped Global.pkg* in the old because I have many classes in Global.pkg and I don't want to map one by one in my pkg and exclude Global.pkg.MyClassGlobal ?So I guess I'll have to go pkg then classes that starts with eg. A, B ...etc (eg. Global.pkg.M*) in the pkg, exclude Global.pkg.MyClassGlobal and map it by itself in the new DB instead.All good thanks Chris
go to post john.smith4237 · Aug 1, 2024 I made a typo I meant how do I check the status for Prepare and Execute methods? but yes I've checked the status and it was a security where the user set in the task didn't have all privileges Thanks Guys
go to post john.smith4237 · Aug 1, 2024 not sure by %SYSTEM? and do I check the status for Prepare and Execute methods?
go to post john.smith4237 · Jul 31, 2024 Yes some tasks doesn't finish before the next one and for that I've expand the interval but when we had the system on Ensemble 2014 we don't get those messages so if one task doesn't finish the next one will just start whenever the previous one finishes, so it's the same scenario but in the new 2018 we receive these messages !?