|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75510 Abandon connections when RPG program is hung in MSGW
Submitted: 2017-11-10 08:50 UTC Modified: -
From: mark dot stewart at gmail dot com Assigned:
Status: Open Package: ibm_db2 (PECL)
PHP Version: 7.1.11 OS: IBMi
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: mark dot stewart at gmail dot com
New email:
PHP Version: OS:


 [2017-11-10 08:50 UTC] mark dot stewart at gmail dot com
RPG programs called from a web environment should never fail and should monitor for all errors BUT in my real world scenario legacy programs can 
occasionally hang on MSGW.

When using persistant connection the MSGW causes the disastrous effect on my website where other users requests begin to fail because they are waiting for the job which is now stopped on MSGW. 

I need a modification to ibm_db2 that ensures that other users requests do not wait for the job that is stuck in MSGW. 
Thanks to the guys at IBMi who have provided me with a test ibm_db2 on their YIPS website with a 'executing' flag solution. 
This solution was success in resolving my issue.
This is a formal issue request to add 'executing' flag support beyond 2.0.1. 


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Dec 06 07:03:36 2021 UTC