The ReadRawMode did the trick! Thank you very much.
- Log in to post comments
The ReadRawMode did the trick! Thank you very much.
Thank you for the thorough explanation!
Is there any way to prevent the UTF decoding when using %Net.HttpRequest? Or maybe revert it?
I wasn't aware of the queue manager, I will look into it. Maybe the IO Operations can be split.
Thank you very much! That fixed it.
Hi Julius, thanks for the answer. What function would I use to read multiples of 3 instead of 4?
oh nice, thanks!
I read some random post in the community that said you could evaluate the low level return with the $ZU() command. But maybe that was something different
Neither of those command worked, that was what I thoguht at first too. But killing the STREAM did the trick, so you pointed me in the right direction. Thanks.
This Compare only works when working with the studio, correct?
I was thinking of something for people who don't have direct access to the studio and maybe just want to check out differences made, like a supervisor.
As I said, I managed to implement the query from my answer above, but the code is very old. Just curious if there is a newer version.
You're right, i should have looked into that aswell.
I got it to work with the Query now, since the %RCMP file was locked for me.
Set statement=##class(%SQL.Statement).%New()
Set status=statement.%PrepareClassQuery("%Library.Routine","Compare")
N result
SET result=##class(%Library.ProcedureContext).%New()
SET result = statement.%Execute(NSP1,ROUTINE1,NSP2,ROUTINE2)
DO result.DumpResults()
Thank you @Robert Cemper for the quick response,
I was hoping to avoid using the %RCMP Routine as it uses GOTO commands.
One of our Senior Developers pointed me in the right direction. He recommended I use:
Class %Library.Routine
query Compare(Nsp1 As %String, RouName1 As %String, Nsp2 As %String, RouName2 As %String)
Selects LineNo1 As %String, Line1 As %String, LineNo2 As %String, Line2 As %String
This query provides a list of all lines that differ between two given routines.
Nsp1 and RouName1 specify the first routine.
Nsp2 and RouName2 specify the second routine.
Nsp1 and RouName2 can be either an explicit or an implied namespace.
I will try this and see if it works. If anyone has further advice feel free to add them.