go to post Robert Cemper · 18 hr ago Before IRIS there was a trial version. But always only the latest.There was also no community. as we know it today.What you look for is more than 10 years back !
go to post Robert Cemper · Jan 27 this might do it: Class User.Scott { ClassMethod Clean(infile, outfile) As %Status { set in=##class(%Stream.FileCharacter).%New() do in.LinkToFile(infile) set out=##class(%Stream.FileCharacter).%New() set out.Filename=outfile do in.Rewind() while 'in.AtEnd { set line=in.ReadLine() set last=($e(line,*)="|") if last set sc=out.WriteLine(line) else set sc=out.Write(line) } do in.%Close() set sc=out.%Save() quit sc } }
go to post Robert Cemper · Jan 27 Just to understand your requirements correctly.- a linebreak $c(13,10) would only be acceptable if it follows a segment terminator "|" - IF YES Is this just a pipe | or a double pipe || as in your example?This could be a processing rule to check the last chars of the lineand ignoré the linebreak at a mismatch.
go to post Robert Cemper · Jan 25 see this posting https://community.intersystems.com/post/system-process-and-session-information-triggers#comment-212291docs:https://docs.intersystems.com/iris20223/csp/docbook/DocBook.UI.Page.cls?KEY=GSQL_smp#GSQL_smp_executequeryopts
go to post Robert Cemper · Jan 23 In IRIS you have in SMP the option to run your Query in background and bypass the timeout.
go to post Robert Cemper · Jan 23 it still exists: ClassMethod Build(f As %Integer) { s a="#" f i=F:-1:1 w ?i,a,! s a=a_"##" }
go to post Robert Cemper · Jan 23 Just forget my contribution.I'm not interested in digging for secrets!I leave that to Indiana Jones my code is deleted ! it's not my type of fun
go to post Robert Cemper · Jan 23 Hmm!Where did you see the enclosing quotes? they are invisible in my browser.