go to post Robert Cemper · Feb 8, 2018 Quite interesting on my WIN10_prof I had no need of /S as I wante exactly THIS directoryAnd you are right. If the file exists already and is accessible nothing prevents you from modifying it.You probably can't delete it as this requires access to directory.And you are also right that ATTRIB doesn't propagate it. So I think the whole approach to check the directory is misleading.Now we are back to the initial proposal.Do an OPEN with timeout in this directory ("WN") and on success you can write to the directory.The test file can be removed by CLOSE file:"D" if you didn't open with "WND" .And it tells you can I write there YES/NOAnd this is independent of any status and flags and don't know what in whatever filesystem I work on.
go to post Robert Cemper · Feb 7, 2018 If you go in Atelier menu to Windows > Preferencesand in there to General > Keys you find the definition for Ctrl+right / Ctrl+leftThis tells me it's deep embedded in Eclipse. But can be changed:https://wiki.eclipse.org/FAQ_How_do_I_provide_a_keyboard_shortcut_for_my...I found ~ 1800 keymaps on Eclipse Marketplaceand for MS Visual Studio keymap (which might be closest) still 83 hits.To summarize: it's NOT a configuration issue as long as you don't have something ready to include.It might take some time to find a useful one.
go to post Robert Cemper · Feb 6, 2018 There is a solution using WIN command attrib to check read only access flag.It doesn't write files.You are welcome to discuss about "elegance" . set dir=yourDirectory set dev="|CPIPE|" set cmd="attrib /d " set result="" open dev:(cmd_dir:"R"):0 if $test use dev read result close dev if $piece($zstrip(result,"<>"," "),dir)["R" write "directory read only",! else write "directory accessible",!
go to post Robert Cemper · Feb 5, 2018 You have to be aware that you access the file by the rather high privileged account that Caché service is running in.Have you blocked this account too ?
go to post Robert Cemper · Feb 5, 2018 You are right. But it has no impact.Another reason to move to Atelier.
go to post Robert Cemper · Feb 5, 2018 Basically $c(1) s a NONPRINTING character - it has to be invisible by definition.Instead of WRITE command use ZWRITE to visualize it or $TRANSLATE function to make it visible.example:USER>s ^rcc=$lts($lb(123,"abc",23432,"hak","uuk"),$c(1)) USER>w ^rcc123abc23432hakuukUSER>zw ^rcc^rcc="123"_$c(1)_"abc"_$c(1)_"23432"_$c(1)_"hak"_$c(1)_"uuk"USER>ZZDUMP ^rcc0000: 31 32 33 01 61 62 63 01 32 33 34 33 32 01 68 61 123.abc.23432.ha0010: 6B 01 75 75 6B k.uukUSER>write $TR(^rcc,$c(1),"*")123*abc*23432*hak*uukUSER>
go to post Robert Cemper · Feb 4, 2018 So you require support for BMC Patrol!Check here http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GCM_patrol
go to post Robert Cemper · Feb 3, 2018 OK if this Is outside you control you NEED a dirty trick.Just before after the last Set Properties(....) in ZAUTHENTICATE insert this line: Kill %myProperties Merge %myProperties=Propertiesto get a full copy of the array in %myProperties
go to post Robert Cemper · Feb 2, 2018 property onselectrow as %ZEN.Datatype.eventHandler;onselectrow event handler: This event is fired when a new row is selected. This event is passed a variable, which, which indicates how the row was selected: "", "click" or "keypress".I'd assume in your case as you did neither "click" nor "keypress" var which ="" will apply.So you may use this to ignore the call and return without action.
go to post Robert Cemper · Feb 2, 2018 It would be easier to help you with the concrete call to ZAUTHENTICATE in hands.In addition ZAUTHENTICATE.mac needs to be modeled by un-commenting lines.Or do you use the pre-configured OAUTH2.AUTHENTICATE.macin both cases you need to have activated this line:Set Properties("Comment")="....whatever you may pass along...."according to your description this is done .So the issue might result from the way the call is doneComment in ZAUTHENICATE.mac Line 90 says: Properties - Array of returned values, passed by referenceSo your call should look like Do ^ZAUTHENTICATE(ServiceName,Namespace,Username,Password,Credentials,.Properties)#;--------------------------------------------------------------------^^^ It's the dot in front of variable name Properties that does the Pass by Reference and enables you to use the updated array after the call.The dirty approach would be to name your array %myProp instead of Properties thus using a variable with public scope.
go to post Robert Cemper · Feb 2, 2018 Pls. be more specific on "It is not working."+ what would you expect to workeventually you have code and data separated, then it's more than just a single DBvarious mapping may add even more DBsYou should get previous releases from WRC based on your service contract.But be aware: from 2007 to 2017 there have been 15..20 releases. Each with changes + release notes that may affect you.
go to post Robert Cemper · Feb 2, 2018 To my understanding the main purpose of introducing %INLIST in our SQL wasto have a more handy option than the classic IN (....)%INLIST takes a Single $LISTBUILD() as parameter with a Variable number of values that you pass at runtime by only 1 "?"while IN (p1,p2,p3,p4) or better IN (?,?,?,?) requires a fixed static number of parameters during execution. so you have to know the maximum number of values ahead when you create your queryand eventually to fill unused parameters by some impossible value to feed the query
go to post Robert Cemper · Feb 1, 2018 I had the issue short after an update of Eclipse.I fixed it by re-installing the glassfish stuff (whatever that might be) explicitly from Marketplace.
go to post Robert Cemper · Feb 1, 2018 There is an excellent series of 5 articles from Brendan Bannon The Art of Mapping Globals to Classeshttps://community.intersystems.com/post/art-mapping-globals-classes-1-3It tells you all details how to wrap existing globals into classes
go to post Robert Cemper · Feb 1, 2018 Query 1 Example 1 could be marginally faster by less line terminations and less command dispatch:But as this will be compiled some kind of code optimizer eventually might run.Query2 Example1 is faster by less line terminations and less command dispatch.BUT: Both cases aren't the place to win benchmarks. Rather look for Global access , SQL optimizing, ....
go to post Robert Cemper · Jan 31, 2018 rewrite of comment:if this is something likeSELECT people.name, holiday.date, people.ID||'^'||holiday.ID as UNIQFROM people JOIN holidayON people.country = holiday.countryThen the bolded expression should not be longer than your 50 Char.IF you use CachéStorageID is always a unique positive Integer (1.... 19digits) and you can always disassemble it by the separator.
go to post Robert Cemper · Jan 31, 2018 I just added Quick Bookmarks plugin to my Atelier (better Eclipse)Works excellent and to my opinion far better than Studio.ALT+<num> to set numbered<CTRL>+B toggle / set unnumbered<CTRL>+N next<CTRL>+P previousJust installed from https://marketplace.eclipse.org/content/quick-bookmarks-plugin (ignore warnings)
go to post Robert Cemper · Jan 29, 2018 suggested steps:#1)Add Property Experiment As %String; to Class SCHED.TracerEntry#2) Write a Utility Class to move the existing content from SCHED.SchedEntry.Experiment in to the all List entries.#3)If you are satisfied and all methods access the new location of ExperimentYou may remove all old content of SCHED.SchedEntry.Experiment . Set it to ""and set the property to INTERNAL, PRIVATE or just delete SCHED.SchedEntry.Experiment . BUT don't touch the storage map! This is not a necessary step but just kind of clean up.
go to post Robert Cemper · Jan 29, 2018 NOTE: I had commented out the two &html lines in the Testing Method... and doing a Ctrl-O still work.Most likely your browser displays a cached version.Clean all caches on the way to browser and you will see the changes. It's a principle issue.with <input type="file" /> you select a file name local to your browser. That's just pure HTML.And what you have in hands is a file reference. Not the file itself.So what you may do next is to SUBMIT it to server. But scanning your menu you expect to open, modify, copy, ... That's nothing to be done from Browser but by a local application.
go to post Robert Cemper · Jan 23, 2018 ZEN uses pure XML encoding:differently from HTML there are just 5 specials allowed / required < (<), & (&), > (>), " ("), and ' (').see:http://xml.silmaril.ie/specials.html