Question Russell Knight · Nov 21, 2018 Text session workstation id Greetings,How can I extract/return the workstation id in M. In other words, I csession in to MUMPS and I want to extract the workstation to use.Thanks in advance for everyone's help... #Beginner #Caché 0 1 0 242
Question Russell Knight · Aug 31, 2017 Run cache program from command line. Greetings,Is it possible to save Cache code into a file and then run it via command line? IE: csession [ini] -U [ini] /path/cacheCodeFile.?What I need to do is run a Cache script from the Linux command line. The script will navigate data to produce a file and then it will exit back to the command line.Thanks in advance for everyone's time. #Beginner #Caché #Deployment 1 2 0 3.5K
Question Russell Knight · Jul 20, 2017 Cursor placement Greetings, What methods are available to position a cursor on a screen to begin writing as not to disrupt other areas of the screen? I have used ?# , ie: ?5 but this is destructive from the let to character 5. I would like to enter a command that will position at row,col and then start writing? Can I create a window in a window type display to write text and then when done viewing, remove it?Please advise,Thanks in advance for everyone's time. #Beginner #Caché 0 2 0 315
Question Russell Knight · Jul 17, 2017 Use a global stored in variable. Greetings, How can I store a global name in a variable, ie: x="^G" and then use x like this, as if it were the global: y=$o(x) ?Please advise,Thanks... #Beginner #Caché 0 3 0 616
Question Russell Knight · Jul 17, 2017 How to Discover What's Inside the Global? Greetings,If given a global, how can I discover information on that global? More specifically, how can I discover how many indices it contains? ie: ^G(1,2,3,4,5) How can I discover that there are 5 subscripts within the Global ^G if I did not already know.Please advise, and thanks in advance for everyone's time. #Beginner #Caché #Globals 0 3 0 349
Question Russell Knight · Jul 12, 2017 Database Wildcards Greetings,How do I organize a wildcard search with respect to a database search?Example of what I am trying to do: s x=$o(^G("ABC","A*",x))Trying to navigate through the ^G global for all occurrences of "ABC", and "A*" ("A"+wildcard) but I am new to M and don't know positively how to do this. Perhaps I don't use an "*" at all, rather; another convention altogether.Please advise.Thanks in advance for everyone's assistance. #Beginner #Caché #Databases 0 2 0 534
Question Russell Knight · Jul 3, 2017 Read in and process function keys Greetings,Can someone please show me via coding example(s) how to write an input prompt that will read in a function key, F7 for example, validate that the key pressed is F7 and then process it all via cache. #Caché 0 7 0 438