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
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