go to post John Murray · Sep 11, 2017 Specifically, since you are trying to connect to port 23 on your local Windows machine you will need the Telnet service enabled. It's called %Service_Telnet.Assuming you end up satisfied with Robert's answer, please remember to be a good DC citizen by setting the big checkmark alongside the header of his answer. Only you as OP can do this.
go to post John Murray · Sep 11, 2017 Rob, I have added the "Global Summit 2017" tag to your post (I'm a DC mod) in the hope it'll get seen sooner by those who can give you the answer. It's 5.30am here in Palm Desert, and the keynotes are scheduled to start at 9.
go to post John Murray · Sep 7, 2017 Ben, how about raising a request to get this into the product documentation?
go to post John Murray · Sep 5, 2017 Maybe display the unchecked marks to the OP using a jazzy animation. Make it irritating enough and perhaps they'll get around to accepting an answer just to calm their screen down
go to post John Murray · Sep 5, 2017 Alongside the "ANSWER" header, look for a checkmark that you can click. This screenshot highlights where:
go to post John Murray · Sep 4, 2017 Michael, please consider setting the checkmark alongside the Eduard's answer. Doing this will mean DC can show your question as "answered". It also gives Eduard credit for helping you.
go to post John Murray · Sep 1, 2017 Assuming you're using Studio, look at the View menu where there's an option called "View Other Code". This will open the generated INT if it is available. If it isn't, look on your Build menu and pick "Compile With Options". In the dialog that appears, set the checkbox named "Keep generated source code". Then click OK. After compilation finishes, try "View Other Code" (there's also usually a toolbar button for this).
go to post John Murray · Sep 1, 2017 What does your $$$AssertEquals macro do?Both that macro and your WriteCapture classmethod get turned into INT code at some point, and you can view this from Studio if you make sure class compilation preserves INT. Maybe if you post the relevant INT fragments here someone will be able to spot why the presence of $$$AssertEquals is breaking things.
go to post John Murray · Aug 31, 2017 I must admit I was unfamiliar with the xxxFunc() syntax Eduard's code used. So I decided to track it down in the documentation:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...That comes from the 2012.2 release notes and reads as follows:Func() Method Added To Query ClassesA new query member method is available for use, Func. Func() accepts actual values corresponding to the formal parameters defined by the query. It returns an instance of %SQL.StatementResult. When the Func method executes successfully that instance of %SQL.StatementResult is a result set.If an application has a class with a method whose name is the same as a query name concatenated with "Func", then a member method name collision will be reported at compile-time. Refer to the %Library.Query class for more information.
go to post John Murray · Aug 30, 2017 Setups are managed in the Security subsection of the System Administration section of Portal.Key documentation is at http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...Parts specifically relevant to SQL access to data include:http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=... (in particular, the subsection titled "Modifying a User’s SQL-Related Options")
go to post John Murray · Aug 29, 2017 Since 86400 is the number of seconds in one day, did you mean to write "it will run every day" rather than "it will run every two days"? Or have I misunderstood something?
go to post John Murray · Aug 29, 2017 It'd be easy enough to write a method that notes the current collation of locals for the process - ##class(%Library.Collate).GetLocalNumber() - and if it's not 5 (the number for "Cache standard") then temporarily set it - ##class(%Library.Collate).SetLocalNumber(5) - before doing the ]] test, then reinstate the noted collation if necessary.
go to post John Murray · Aug 29, 2017 This is a good point. I was relying on the doc at http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=... being correct when it says:Binary Sorts after tests whether the left operand sorts after the right operand in numeric subscript collation sequence. In numeric collation sequence, the null string collates first, followed by canonical numbers in numeric order with negative numbers first, zero next, and positive numbers, followed lastly by nonnumeric values.
go to post John Murray · Aug 25, 2017 How about using the "sorts after" operator ]] for this? USER>w "0.12345"]]$c(0) 1 USER>w ".12345"]]$c(0) 0 USER>
go to post John Murray · Aug 24, 2017 There's a hyperlink at the top of part 2 above. Maybe it wasn't there when you first looked.
go to post John Murray · Aug 24, 2017 Per the OP's comment here, in this case it's an 8-bit Caché instance, so Unicode characters aren't available on the server.
go to post John Murray · Aug 24, 2017 Per the OP's comment here, in this case it's an 8-bit Caché instance, so Unicode characters aren't available on the server.
go to post John Murray · Aug 24, 2017 Yes, that's a DC limitation at the moment. One workaround is to copy the link from the hyperlinked word "Comment" at the foot of whichever comment you consider to be the answer, then add a new answer that references this, e.g. Answered by this comment.Then you can accept your own comment.