STRPCCMD leaves pop-up open

50 pts.
Tags:
iSeries V6R1
STRPCCMD
How can I stop the STRPCCMD from leaving the pop-up window open? I'm using the PAUSE(*NO) parm in my CL program and it still leaves the pop-up on the screen.

Software/Hardware used:
iSeries V6R1
ASKED: March 29, 2012  6:27 PM
UPDATED: April 3, 2012  1:41 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Try giving an exit command at the end of your pc command. It exits from the pop up window as soon as your command gets executed.

Eg: STRPCCMD PCCMD(”’command” ”exit”’) PAUSE(*NO)

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    I'm using the PAUSE(*NO) parm in my CL program and it still leaves the pop-up on the screen. The PAUSE(*NO) doesn't seem related to the window that opens. The window is from the PC process that is running the request that you sent to your PC. As long as that runs, the window will stay. If you close the window, you're effectively closing what is running behind the scene in that process. Send a command that hands the work off to a different process. For example, try this:
    STRPCCMD PCCMD('start http:\www.google.com') PAUSE(*NO)
    As soon as the START command completes, the DOS window should go away. The START command hands the work off to a secondary process and returns; it finishes even though the task that it invoked may continue to run. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following