Search found 3 matches

by jord2931
Fri Mar 25, 2016 2:56 pm
Forum: Zend Server for IBM i
Topic: Waiting for a response from a Command
Replies: 0
Views: 1825

Waiting for a response from a Command

We need our PHP script to wait for a response after running a send message inquiry. Does anyone have any good suggestions on how to do that? Our code is simply this: $cmd = 'SNDMSG MSG(DSFG) TOMSGQ(*SYSOPR) MSGTYPE(*INQ) RPYMSGQ(QSYSOPR)'; $command = $tk->conn->CLInteractiveCommand($cmd); Then we re...
by jord2931
Wed Feb 10, 2016 5:46 pm
Forum: New Toolkit
Topic: PHP or Toolkit blocking application
Replies: 7
Views: 7100

Re: PHP or Toolkit blocking application

Thanks Alan, So far through our testing running everything as stateless has solved our issue. One thing that we were observing was that if a stateful toolkit instance was kicked off, the next stateless call still seemed to use the the active instance. Everything still appears to be working as expect...
by jord2931
Tue Feb 09, 2016 6:46 pm
Forum: New Toolkit
Topic: PHP or Toolkit blocking application
Replies: 7
Views: 7100

Re: PHP or Toolkit blocking application

Hey Alan, I work with Michael on the PHP implementation of the application. We set the toolkit options to stateless and updated the setOptions method: function __construct() { $config = new Config\Config(); $this->conn = ToolkitService::getInstance($config->systemname, $config->username, $config->pa...