php man page for mqseries_strerror

Query: mqseries_strerror

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

MQSERIES_STRERROR(3)							 1						      MQSERIES_STRERROR(3)

mqseries_strerror - Returns the error message corresponding to a result code (MQRC).

SYNOPSIS
string mqseries_strerror (int $reason)
DESCRIPTION
mqseries_strerror(3) returns the message that correspond to the reason result code.
PARAMETERS
o $reason -Reason code qualifying the compCode.
RETURN VALUES
string representation of the reason code message.
EXAMPLES
Example #1 mqseries_strerror(3) example <?php if ($comp_code !== MQSERIES_MQCC_OK) { printf("open CompCode:%d Reason:%d Text:%s<br> ", $comp_code, $reason, mqseries_strerror($reason)); exit; } ?> The above example will output: Connx CompCode:2 Reason:2059 Text:Queue manager not available for connection. PHP Documentation Group MQSERIES_STRERROR(3)
Related Man Pages
libssh2_session_disconnect_ex(3) - debian
socket_strerror(3) - php
mqseries_connx(3) - php
mqseries_conn(3) - php
mqseries_put1(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch