Surveiller QSYSOPR - QSYSOPR supervisor

page d'accueil
Boite à outils

Cette page a été mise à jour le 20 janvier 2009
Contact

Welcome page
Tools box

Versionning 

last version : How to upload to my 400

CHGPFM FILE(jpllib/QPGMSRC) MBR(JPLOPLOOP ) SRCTYPE(CLP ) EXPDATE(*NONE) SHARE(*NO) TEXT('boucle de surveillance QSYSOPR ') 
CHGPFM FILE(jpllib/QPGMSRC) MBR(JPLOPWRK ) SRCTYPE(CLLE ) EXPDATE(*NONE) SHARE(*NO) TEXT('surveillance de QSYSOPR ')

Ce CLP tourne en permanence dans le sous système QCTL en priorité 90. Il scrute régulièrement la message queue et m'avertit s'il y a des messages en souffrance. Il peut aussi répondre la valeur par défaut tout seul quand les messages sont trop vieux (c'est à dire quand il n'y a pas d'opérateur pour s'en occuper)

CLP principal, chargé de relancer la surveillance régulièrement. Il sait aussi s'arrêter à la demande par CHGJOB SWS('1')

This CLP is permanently running in the QCTL subsystem at priority 90. It scrutinizes the message queue regularly and warns me if there are outstanding messages. It can also answer the default the value itself when the messages are too old (ie when there is no operator to answer)

Main CLP, loaded to throw back the surveillance regularly. 

It knows how to stop itself when asked by CHGJOB SWS (' 1 ')

This program MUST run at the LOWEST priority (90) because, at least, it can repond to message, and need to see response acceptance, even if sender is a batch at priority 50.

The source code is provided as an open source tool under the GNU General Public License, version 2.  In summary, this license specifies:

By clicking the download link you acknowledge and agree to the terms of the license.

Download the (zipped) SAVF containing the JPLTOOLS : the source file, the message file, the bnddir

THIS TOOLBOX IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PROVIDER OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS TOOLBOX, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.