go to post Robert Cemper · Jul 31, 2017 This is a matter of interpretation.If you also allow leading 0 for integers (eg. 00123) then you need to normalize it.
go to post Robert Cemper · Jul 29, 2017 You are right. The check for pure number got lostif +number=number has to precede so the combined is if +number=number,number\1=+number
go to post Robert Cemper · Jul 28, 2017 The oldest and most simple and fastest integer check isif value\1=+value\1 strips trailing decimals, + strips leading 0; just pure integer arithmetics no string checks
go to post Robert Cemper · Jul 28, 2017 Journaling a DeepSee environment is a real performance killer.Take a look of the Journal when using a Bitmap Index
go to post Robert Cemper · Jul 27, 2017 since every installation of Caché has it's gateway I'm not clear what you did by" configured as CSP gateway. "with no manual change the gateway always talks to your local server ser-app-wFrom CSPgatewayMgmt on ser-app-w you should check access to ser-app-db
go to post Robert Cemper · Jul 25, 2017 The fact that the table is external is just a concern of storage strategy in the generated Caché ClassTo your COS code it's just another class projected as table.Use it by your preferred ResultSet ClassIt might be a good idea to check access first from Mgmt Portal to verify access rights.for the example:http://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?P...
go to post Robert Cemper · Jul 25, 2017 so you may use $$$comClassDefined(class) for compile classesor go for ^oddCOM(....)
go to post Robert Cemper · Jul 25, 2017 Sébastien,<COLLATION NOT SUPPORTED>tells you that you have different NLS setting between your servers.e.g. FRAW on one side and something else not supporting French collation on the other end eg. ENUW or simiaror not wide characters ...Should be easy to change on the fly from Mgmt Portalhttp://localhost:57772/csp/sys/mgr/%25CSP.UI.Portal.NLS.zenSalue,
go to post Robert Cemper · Jul 25, 2017 I just got this information: Developer group worked at it and version 2018.1 1 will contain the new pattern.
go to post Robert Cemper · Jul 25, 2017 And if you also want to be sure that also the Method %New exists you my usewrite $$$comMemberDefined(ClassName,"m","%New")[just reading through %occReference.inc]
go to post Robert Cemper · Jul 24, 2017 I'm fully with you.Using hidden %System.whatever Classes is as bad practice as using undocumented $zu(anynumber, , , )
go to post Robert Cemper · Jul 23, 2017 Using the term MACRO for code saved as .INC is quite a challenge to beginners working in .MAC and more in .CLSAlways a nice check for a trainer to verify attention of his victims
go to post Robert Cemper · Jul 23, 2017 set exist=##class(%Dictionary.CompiledClass).%ExistsId(ClassName)will tell you the status
go to post Robert Cemper · Jul 22, 2017 If there is an index defined on PBD_PBO_ParRef is it correctly generated?If not sure, do rebuild index from MgmtPortal.
go to post Robert Cemper · Jul 21, 2017 What about chopping your query like this or similarlastID=0"Select TOP 10000 ID,Text from eprinstance.isegment where ID > ?"passing lastID as query ParameterNow you loop on it until you collected all records.The basic idea is to limit your result set by TOP as your partition allows. it's definitely independent of Cache versions.
go to post Robert Cemper · Jul 21, 2017 I wish I had this half a year ago when I was teaching Caché basics to total fresh developers.Great stuff.Robert