Question Thiago Zenaro · Oct 30, 2018 csession with ##class command on a Windows machine Hi community.I'm trying to create a "setup" method to be called on a batch script but i'm getting the error <INVALID ARGUMENT> when I pass a string as an argument to this method.The idea is to call the method with a folder as the parameter, for example:##class(test.MyClass).MyMethod("D:\path\to\my\file.json") My class (just for example)Class test.MyClass #Caché #Continuous Integration 0 7 0 1.1K
Question Thiago Zenaro · Jun 12, 2018 Extending method keywords Hi community!Is there any way to create new method keywords?For example: #Compiler #Studio #Caché 0 13 0 568
Question Thiago Zenaro · May 25, 2018 RESJOB while compiling classes Hi everyoneI'm coding a script in order to validade an installation package following the steps: #Continuous Integration #Compiler #Caché 0 7 0 579
Question Thiago Zenaro · May 3, 2018 Custom %ListOfDataTypes Hi community.I want to create a custom list inheriting %ListOfDatatypes in order to implement some methods like Map, Filter, ForEach, but I have some questions.Just to mention, I have already read the topic about DeclarativeCOS.When I define a property like following, caché uses %Collection.ListOfDT or %Collection.ListOfObj, as it's shown in the documentation #Compiler #Object Data Model #Studio #Caché 0 1 0 697
Question Thiago Zenaro · Jul 27, 2017 Get STACK of another process Hi, How can I read the stack of another process? I know about ^JOBEXAM, but I only know how to use through terminal, and I need to get a string, or at least do a method that returns me a string For example: I have process A and B B monitors process A at each second. B logs information about process A in a table #ObjectScript #Caché 0 2 0 549
Question Thiago Zenaro · Jul 13, 2017 Changing class definition at compilation time Hi everyoneIs there any way to change a class definition (especifically a query definition during the compilation time)?The idea is: I have an abstract class with a parameter where I will define the ROWSPEC of a query and some methods to populate e temporary tableThe implementation class will override the parameter, specifying the ROWSPEC of this implementation, and the methods will populate the rows in the same format as the ROWSPEC. #Caché #Compiler #Object Data Model #ObjectScript #SQL 0 4 0 653