Robert Cemper · Jan 26, 2021 go to post

As iristrmd.exe only runs on Windows it is simply localhost:23  Telnet 
+ SMP:  System > Security Management > Services > %Service_Telnet enabled
iris session is not available in Windows

Robert Cemper · Jan 21, 2021 go to post

Right. It stands at the first line and  <ctrl>+<F5>  in Studio starts it

It is also in Debug  menu / Go 
I think that the design idea was to have a last chance to set breakpoints.

Robert Cemper · Jan 21, 2021 go to post

just tried to reproduce a similar case in Terminal.
#0) clear all stored  breakpoints (menu: Debug / View breakpoints / remove all)
#1) set the breakpoint in Studio using F9
#2) attach to process (shell if in Terminal)
#3) do ^yourroutine in terminal
#4) In Studio: <ctrl>+<F5>  let it run 
if your breakpoint is reached you see the yellow box

Hint: try it with some simple 5 line routine first

If you never see the yellow box then you just don't execute this line 

Robert Cemper · Jan 21, 2021 go to post

That's correct if you are already in an .int routine.
OTHER relates to cls, mac, ..... 

Robert Cemper · Jan 19, 2021 go to post

Ahh!
Studio debugger is based on ZBREAK command.
old style BREAK is only useful for interactive debugging in the terminal and ignored in background
I always tried not to mix it up.  Not sure if this is the reason. I think it's suspicious. 
 

Robert Cemper · Jan 19, 2021 go to post

I've seen such behavior during debugging when I fell into some deployed system code (.obj only)
A similar effect happened to me when I touched some customized command, function, variable from ZLANG***
[which I tried to debug !!!]

I could gain control again by some <SHIFT><F11>  until returning to some code covered by .int
As Studio stores a lot of info in the Windows registry just killing Studion might cause some confusion. 

Robert Cemper · Jan 14, 2021 go to post

Could you pls. be a little more precise about what you expect:
heavy & complex & simple is quite ambiguous.

Robert Cemper · Jan 14, 2021 go to post

Caché has a nice example in namespace SAMPLES how to upload a stream of any length:  
/csp/samples/upload.csp.   
 

Robert Cemper · Jan 13, 2021 go to post

 Is there a way or tool available to take the source files and create an XML file which can be used for deployment to Ensemble? 

YES: 
$system.OBJ.Export(....)
$system.OBJ.Load(...)
docs & details
 

This works on Caché/Ensemble not just IRIS

Robert Cemper · Jan 13, 2021 go to post

your code is : 

 Set classname mobj.FindClassName(SchemaName_"."_TableName)

 Set mgr.TableName SchemaName_"."_TableName
 Set mgr.ClassName classname

The class  to Export:  Class Persistent.PersonBackup Extends %Persistent

BUT you call it:

do setupExportImport^uTask12440("Export","PERSISTENT","PERSONBACKUP")

There is no class PERSISTENT.PERSONBACKUP
Try instead:

do setupExportImport^uTask12440("Export","Persistent","PersonBackup")

So the generator can find your class

Robert Cemper · Jan 11, 2021 go to post

Oh, dear!
I saw something similar ~'86  running on VAX/VMS (or was it RSX-11/M ?) with some specialised keyboard

Robert Cemper · Jan 11, 2021 go to post

@Sergei Shutov   $e(112345678) prevents you to pass N>9

           1
          121
         12321
        1234321
       123454321
      12345654321
     1234567654321
    123456787654321
   12345678987654321
  123456781087654321
 123456781187654321
123456781287654321
 123456781187654321
  123456781087654321
   12345678987654321
    123456787654321
     1234567654321
      12345654321
       123454321
        1234321
         12321
          121
           1
 


@Julius Kavay    similar issue, but limit is 16

My interpretation was N>9  is any number >9

Robert Cemper · Jan 10, 2021 go to post

UTC: 2021-01-10 21:39:34

N<=9 :   73 chr

f i=1:1:N w ! f j=1:1:i,i-1:-1:1 w !?N-j f l=1:1:j {w l} f r=l-1:-1:1 w r

N>9 : 78 chr

f i=1:1:N w ! f j=1:1:i,i-1:-1:1 w !?N-j f l=1:1:j {w l#10} f r=l-1:-1:1 w r#10
 

eg: N=14

 
             1

             1
            121
             1

             1
            121
           12321
            121
             1

             1
            121
           12321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
        12345654321
         123454321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
        12345654321
       1234567654321
        12345654321
         123454321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
        12345654321
       1234567654321
      123456787654321
       1234567654321
        12345654321
         123454321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
        12345654321
       1234567654321
      123456787654321
     12345678987654321
      123456787654321
       1234567654321
        12345654321
         123454321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
        12345654321
       1234567654321
      123456787654321
     12345678987654321
    1234567890987654321
     12345678987654321
      123456787654321
       1234567654321
        12345654321
         123454321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
        12345654321
       1234567654321
      123456787654321
     12345678987654321
    1234567890987654321
   123456789010987654321
    1234567890987654321
     12345678987654321
      123456787654321
       1234567654321
        12345654321
         123454321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
        12345654321
       1234567654321
      123456787654321
     12345678987654321
    1234567890987654321
   123456789010987654321
  12345678901210987654321
   123456789010987654321
    1234567890987654321
     12345678987654321
      123456787654321
       1234567654321
        12345654321
         123454321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
        12345654321
       1234567654321
      123456787654321
     12345678987654321
    1234567890987654321
   123456789010987654321
  12345678901210987654321
 1234567890123210987654321
  12345678901210987654321
   123456789010987654321
    1234567890987654321
     12345678987654321
      123456787654321
       1234567654321
        12345654321
         123454321
          1234321
           12321
            121
             1

             1
            121
           12321
          1234321
         123454321
        12345654321
       1234567654321
      123456787654321
     12345678987654321
    1234567890987654321
   123456789010987654321
  12345678901210987654321
 1234567890123210987654321
123456789012343210987654321
 1234567890123210987654321
  12345678901210987654321
   123456789010987654321
    1234567890987654321
     12345678987654321
      123456787654321
       1234567654321
        12345654321
         123454321
          1234321
           12321
            121
             1
Robert Cemper · Jan 5, 2021 go to post

Ahh! never seen before!  yes  seems to be in $$$IFDEFAULTHLTAGS

in %IFinclude.inc:
/// BDB666: default highlighting tags
#define IFDEFAULTHLTAGS "<b>,<font color=""red"">"

Robert Cemper · Jan 2, 2021 go to post

Ah! you look for isolated "ABC" and exclude it in context.
So you might need a ClassMethod as SQL Procedure to get the exact & isolated occurrence 
instead of $LENGTH().
Probably requiring some Regular Expression 
or plain looping on $FIND() and checking the borders 

Robert Cemper · Jan 2, 2021 go to post

try to extend your SQL statement like this

SELECT SUM(count) 
   (SELECT
      $LENGTH(TEXT,'ABC')-1 as count,
      Text
   FROM Post
   WHERE %ID %FIND search_index("TextIndex",'ABC')
 )
Robert Cemper · Dec 31, 2020 go to post

That's the way it works. You consume it once.
You'll get a mail once processed. But probably not this yearindecision

Robert Cemper · Dec 27, 2020 go to post

I just added a new and more actual example of using the traditional CPIPE device.
It has my personal preference over %Net.Remote.Utility as I feel to have more direct control. 
Here is the link to Open Exchange