On Mon, 18 Sep 2023 17:18:23 +0000, Farley, Peter wrote: >Isn’t that pretty much what BPXMTEXT does? Is it VM/CMS that allows you to >enter a “command” of just a question mark “?” after an error condition to get >a more complete explanation of an error? Could the shell program support such >a “command” to automatically invoke BPXMTEXT for the most recent error codes? >Could BPXMTEXT be enhanced to retrieve the latest-occurring error codes when >no argument is given and look those up automatically? > Yes. <https://www.ibm.com/docs/en/zos/2.5.0?topic=descriptions-bpxmtext-display-reason-code-text>
How about an environment variable such as BPXMMSGLEVEL, which perror() could sense and call BPXMTEXT for some non-default settings? Extension to Classic MVS is left as an exercise. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN