Chris Stewart · Dec 11, 2025 go to post

With it getting dark here before 4pm, we've got lots of lights up

And a dinosaur guarding the entryway

Chris Stewart · Sep 19, 2025 go to post

Acting as an SME was a fantastic experience.   Myself and my paired expert were able to really dive into some interesting avenues of discussion, combining our different approaches and experiences, and distilling them down to a common understanding.  It was a truly valuable exercise to expand and reinforce my knowledge of the great products we offer

Chris Stewart · Jul 16, 2025 go to post

I think it's the indention of the ClassMethod line. If you remove the leading space before it, then the Language Server should be happier about parsing the method

Chris Stewart · May 28, 2025 go to post

Hi Kurro

It's a bit of a low tech solution, but you can set up a stored SQL DSN for localhost, then use that to access your tables

Chris Stewart · Apr 24, 2025 go to post

We have used Continous Integration to help with this.  Our Jenkins build will pull the source, compile it, zip it, and attach back to the Jenkins job.  On success, a secondary job sends this zip to the server, unpacks it, and updates the symlink for the web folder to the new one.  This way we only move source files, and we are not having to worry about build processes on a production environment

Chris Stewart · Feb 21, 2025 go to post

Yes, if you set up a response and request programatically as Oliver Thompson said, then you can just call the ClassMethods rather than going through HTTP to Rest.   

Chris Stewart · Jan 22, 2025 go to post

JSON_Table got a deep dive in the context of the Document DB functionality.  @Stefan Wittmann presented an excellent session about this at last year's Global Summit


 

Chris Stewart · Jan 14, 2025 go to post

this looks ok.  Maybe try 

zw myobj

before entering the loop, just to make sure that the file stream has linked up ok?

Chris Stewart · Dec 12, 2024 go to post

If you are on Windows, then you should have an .iris_history file on C:\Users\<yourusername>\.   Deleting this will clear your history

Chris Stewart · Oct 9, 2024 go to post

I see my mistake above, mixing Type and IdType.  Either 

IDTYPE = 'EMPLOYEE_NUMBER'

OR

TYPE ='NUM'

should give you results 

Chris Stewart · Oct 9, 2024 go to post

But 345678 is not of Type NPI, its an Employee_Number in your output above.  Restricting the subquery to NPI will return nothing for that number.   If you change the subquery to the correct Type restriction,  i would expect this to work

Chris Stewart · Oct 9, 2024 go to post

I am very confused about what the inputs are, and what the desired output is, but in that case a subquery would be needed

SELECT *                      
FROM PhysTable                        
WHERE ProviderName = 'DOE, JOE' AND Type = 'NPI' 
AND ProvId =(
             Select ProvId 
             from PhysTable 
             where ProviderName = 'DOE,JOE' 
              AND Type='EMPLOYEE NUMBER' 
              and IdentityId = 345678
            )
Chris Stewart · Oct 9, 2024 go to post

Not sure I am quite understanding the ask, but I think you want something like

SELECT *                        
FROM PhysTable                        
WHERE ProviderName = 'DOE, JOE' AND Type = 'NPI' AND ProvId =8252
Chris Stewart · Sep 20, 2024 go to post

Just a note for reference in future.  The DynamicAbstractObject functionality was fully implemented in Caché 2016.2 and up (there was a version in 2016.1, but the syntax is different).   If you are on a higher version that this, using it is generally preferable to the ZENProxyObject version

Chris Stewart · Sep 9, 2024 go to post

Thanks for all of the contributions Ben, and I share your anticipation of the return of the socks!

Chris Stewart · Aug 13, 2024 go to post

The DB mappings go from least to most specific, so you could have a set such as 

GLOBAL* - GlobalsDB

GLOBAL.PKG* - PackageDB

GLOBAL.PKG.Excluded* - GlobalsDB

There is a bit of management overhead in this as you start getting more specific, but this should work

Chris Stewart · Jun 18, 2024 go to post

It was great to see the Developer Community team!   I'm proudly wearing my new Dev Community socks today

Chris Stewart · Jun 14, 2024 go to post

The following SQL should do it

CREATE UNIQUE INDEX ON TABLE <table> (field1, field2)

You will then want to stop all operations against the data and build the index

Chris Stewart · Jun 14, 2024 go to post

That time format isn't an inbuilt function for IRIS, so for this, you can adapt the string function above.  Take the piece before the . (as your expected output doesn't include it), then strip all non numeric

set output = $ZSTRIP($PIECE(input,".",1),"*AP")