Never mind. Just saw this:

The pfsctl service returns Return_code only if Return_value is -1.

Strange way of doing things. You get a meaningful return code only if the
returned length is -1.

Charles


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Charles Mills
Sent: Friday, September 14, 2018 4:03 PM
To: [email protected]
Subject: Odd results from BPX1PCT

I'm calling BPX1PCT as an alternative to BPXMTEXT as described in another
thread.

I'm calling with a command of 0xC000000B per
https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3
.bpxb100/pct.htm usage note 9.

I'm calling with a text type of 0 and an error code type of 0.

I'm getting good text back with a good length. The text corresponds to the
errno2 that I am passing.

But I am getting a return code of 256 (decimal) and a reason code of
0x166830DE.

Errno 256 is not documented and BPXMTEXT says "BPXMTEXT does not support
reason code qualifier 1668".

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to