go to post Bob Ebbert · Jul 19, 2019 Hi,Thanks for your response.Robert Cemper sent me the solution.use file do ALL^%SS ;; must be the same lineWorked perfectly.Bob
go to post Bob Ebbert · Jul 19, 2019 Hi,Yes, my code does have all of the necessary error handling.I did not have the ALL in the D statement. I added it with no space before the ^.It compiled and ran. It did stop the program from prompting between pages but I still have an empty file.Bob
go to post Bob Ebbert · Jul 19, 2019 Hello,I looked up JOBEXAM. That might display what I need but, I need to be able to capture the result into a file and email that file every 15 minutes. So if I use the program that I have or JOBEXAM, I still need a way to get the results into a file that I can email.Thanks for your patience,Bob
go to post Bob Ebbert · Jul 19, 2019 Hi, Yes, I think so.I opened the file (file-name) then I did USE file-name.It displayed to the terminal and created an empty file.Bob
go to post Bob Ebbert · Jul 19, 2019 Hi,Is this something that just can't be done in mumps/cache?Thanks,Bob
go to post Bob Ebbert · Jul 18, 2019 Hi,I think that I am closer.I created a wrapper. I opened a file, executed the SS program, closed and emailed the file.But, The program displayed the results to the screen and created a zero byte file that it emailed.How can I get the output to not display and get written to the open file?Thanks,Bob
go to post Bob Ebbert · Jul 18, 2019 Hi,JOBEXAM? never heard of it.The program is a MUMPS program. The results display on the screen. I need a program to execute that program to capture the result, write it to a file and email that file. A cron will run it every 15 minutes.Thanks,Bob
go to post Bob Ebbert · Jul 18, 2019 Hi,To run do cmd^zpipe(), do I need to put the code provided into a program and compile it?Then when I run it replace cmd with the program that I wish to test?In my case it would be D SS^ZPIPE() OR D ^%SS^SPIPE()I really am new to this. I have access to the free online documentation and some cache programs.Bob