Our code is simply this:
Then we return $command. I have tried running it as an InteractiveCommand, Command and CommandWithOutput. We see the msg on the i, but the PHP script continues.
Code: Select all
$cmd = 'SNDMSG MSG(DSFG) TOMSGQ(*SYSOPR) MSGTYPE(*INQ) RPYMSGQ(QSYSOPR)'; $command = $tk->conn->CLInteractiveCommand($cmd);