Add a MONMSG for message ID IWS4010 after the STRPCO command. See example below.
<pre>
pgm
DCL VAR(&CMD) TYPE(*CHAR) LEN(256)
STRPCO
MONMSG MSGID(IWS4010)
CHGVAR VAR(&CMD) VALUE(‘rundll32 +
shell32,Control_RunDLL timedate.cpl’)
STRPCCMD PCCMD(&CMD) PAUSE(*NO)
endpgm
</pre>
Discuss This Question: 1  Reply