go to post Phillip Wu · Apr 1 Sorry left out the variable 'Status' select Name,Status,TaskClass,Suspended from %SYS.Task where Status <> 1
go to post Phillip Wu · Apr 1 Would this SQL be more accurate?select Name,Status,TaskClass,Suspended from %SYS.Task <> 1If not, why?
go to post Phillip Wu · Mar 20 I think it would be better to use the Ansible expect module: ansible.builtin.expect module Documentation is here:https://docs.ansible.com/ansible/latest/collections/ansible/builtin/expe...
go to post Phillip Wu · Mar 5 Thanks for your advice.I'll check out if I can get the source for the INT program
go to post Phillip Wu · Mar 2 Thanks for everyone's suggestions. Using the OS to pipe in the input from a file is a bit cumbersome and inflexible.
go to post Phillip Wu · Feb 26 Thanks for this code. However when I try to compile the code I get errors with the "labels" Loading file redirectio.cls as udl Compiling class utility.redirectio Compiling routine utility.redirectio.1 ERROR: utility.redirectio.cls(Test+31) #1026: Invalid command : 'rchr(time)' : Offset:6 [zTest+25^utility.redirectio.1] TEXT: rchr(time) quit "a" ERROR: utility.redirectio.cls(Test+33) #1026: Invalid command : 'rstr(len,time)' : Offset:6 [zTest+27^utility.redirectio.1] TEXT: rstr(len,time) quit "xyz" ERROR: utility.redirectio.cls(Test+35) #1026: Invalid command : 'wchr(s)' : Offset:6 [zTest+29^utility.redirectio.1] TEXT: wchr(s) do output($char(s)) quit ERROR: utility.redirectio.cls(Test+37) #1026: Invalid command : 'wff()' : Offset:5 [zTest+31^utility.redirectio.1] TEXT: wff() do output($char(12)) quit ERROR: utility.redirectio.cls(Test+39) #1026: Invalid command : 'wnl()' : Offset:5 [zTest+33^utility.redirectio.1] TEXT: wnl() do output($char(13,10)) quit ERROR: utility.redirectio.cls(Test+41) #1026: Invalid command : 'wstr(s)' : Offset:6 [zTest+35^utility.redirectio.1] TEXT: wstr(s) do output(s) quit ERROR: utility.redirectio.cls(Test+43) #1026: Invalid command : 'wtab(s)' : Offset:6 [zTest+37^utility.redirectio.1] TEXT: wtab(s) do output($char(9)) quit ERROR: utility.redirectio.cls(Test+46) #1026: Invalid command : 'output(s)' : Offset:8 [zTest+40^utility.redirectio.1] TEXT: output(s) set str=str_s quit Detected 8 errors during load. How can this be fixed?
go to post Phillip Wu · Feb 10 If I understand this correctly, if I want to define a new backup task called bt1:set bt=##class(Backup.Task).%New('bt1') Then I can get the properties: w bt.LastRunStatus w bt.Namebt1Is this correct?
go to post Phillip Wu · Feb 3 Thanks to everyone for the quick replies. Much appreciated the Python solution to the question
go to post Phillip Wu · Jan 22 Thanks for everyone's suggestions.Veeam after calling the 'freeze' script was doing some unnecessary processing so delaying the VMWare snapshot and the subsequent call to 'thaw' script.
go to post Phillip Wu · Jan 21 Thanks. That seems to have done the trick.pri_ref.valuehas'\x1c\x01SERVERA.FOO.BAR.ORG/STAGE\x14\x01SERVERA.foo.bar.org|2188\t\x01Primary\x08\x01Active\x15\x01172.31.33.69|1972\x15\x01SERVERA.foo.bar.org|1972' The field separator appears to be \x01. However there is smattering of \x1c\x14\t\x08\x15 Not sure why there are these hex characters?
go to post Phillip Wu · Jun 26, 2024 Thanks to all.I have used the copy all IRIS.DAT files on production to test. The only gotcha is that production the files are from a mirrored system and test is not mirrored so I needed to clear the mirror flags!
go to post Phillip Wu · Mar 30, 2024 Thanks.Would I put this put it into my DB using VS CODE using the same procedure as putting a class [as shown in the youtube videos]?
go to post Phillip Wu · Mar 22, 2024 How do I enter the competition? This is what I have done: 1. https://community.intersystems.com/contests/5 2. "Join the contest"I get to this url: https://community.intersystems.com/node/add/post?edit%5Bfield_post_type%... With the button "Article" highlighted Is this the correct entry way?What do I put into the "Group"?