Learning Documentation Community Open Exchange Global Masters Certification Partner Directory Ideas Portal
Developer Community
  • Posts
    • InterSystems Official
    • Articles
    • Questions
    • Announcements
    • Discussions
    • Tags
  • Events
    • Tech Article Contest
    • Programming Contest
    • InterSystems Ideas Contest
    • Event Calendar
  • Products
    • InterSystems IRIS
    • InterSystems IRIS for Health
    • HealthShare
    • TrakCare
    • Caché
    • Ensemble
    • InterSystems Analytics (DeepSee)
    • InterSystems Text Analytics (iKnow)
  • Jobs
    • Job Opportunity
    • Job Wanted
  • Members
  • About
    • About Us
    • FAQ
    • Feedback
    • Report an Issue
    • Share an Idea
    • Code of Conduct
    • Contact Us

EN

Search by posts, members, tags
Language
EN|
ESPTJPCNFREN
New post
  • Profile page
  • Posts (2)
  • Replies (11)
  • Mentions (0)
  • Official certification & Credly badges (0)
  • Global Masters badges (0)
  • Followers (0)
  • Following (0)
AllAccepted answers
    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 line

Worked perfectly.

Bob

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71981
    go to post
Bob Ebbert · Jul 19, 2019

Hi,

Oh,  good to know.

Thanks again.

Bob

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71976
    go to post
Bob Ebbert · Jul 19, 2019

Hi,

OMG!. Too cool. That worked.

Thank you very, very much.

Bob

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71966
    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

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71956
    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

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71926
    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

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71921
    go to post
Bob Ebbert · Jul 19, 2019

Hi,

Is this something that just can't be done in mumps/cache?

Thanks,
Bob

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71916
    go to post
Bob Ebbert · Jul 18, 2019

Hi,

Cache on Unix

Bob

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71831
    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

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71816
    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

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71806
    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

0 0 https://community.intersystems.com/post/how-execute-program-program-and-capture-results-executed-program#comment-71801
Bob Ebbert
@Bob.Ebbert
Follow

User statistics

Posts
2
Replies
11
Likes
1
Applications
0
Badges
0
Followers
0
People reached
1K
Accepted answers
0
  • Privacy & Terms
  • Guarantee
  • Section 508
  • Contest Terms
  • Cookies Settings
© 2025 InterSystems Corporation, Cambridge, MA. All rights reserved.

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up

Log in or sign up

Log in or create a new account to continue

Log inSign up