https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ceeam00/spetro.htm
Interesting:
For C++ applications, the following values are not allowed for compilation:
* NOEXECOPS | EXECOPS
* NOREDIR | REDIR
* NOARGPARSE | ARGPARSE
if NOEXECOPS is not allowed on #pragma runopts, will the other
options work anyway?
Obviously, there are many ways to specify run time options;
it is not totally clear to me, which ways take precedence ...
Kind regards
Bernd
Am 26.08.2017 um 23:26 schrieb Bernd Oppolzer:
Am 25.08.2017 um 22:08 schrieb Charles Mills:
I have a C++ program compiled with
#pragma runopts( POSIX(ON),TRAP(ON,NOSPIE),NOEXECOPS )
I have my own ESTAEX. On an ABEND, if SDWACLUP is not set, I percolate,
presumably to LE's ESTAE and it drives my C Signal catcher.
It works. In testing, and at most customers, a S0Cx drives the Signal
routine, 100% of the time.
But one customer has twice gotten a S0C4 and in both cases we got an
old-fashioned SYSUDUMP with no Signal. I don't know if we came
through the
ESTAEX exit or not. The ESTAE exit logic is not at all complex so some
subtle bug is unlikely. The reported S0C4 is in the main logic, not
in the
ESTAE recovery. The fact that it is consistent at one customer leads
me to
think it is an environmental factor, not a logic error.
There are no LE options in PARM= or CEEOPTS.
don't know, but:
isn't there a third place where LE options come from?
Maybe a installation default?
I would take a look at your own installation; IIRC some of the LE reports
shows all LE options in effect and where they come from, and there should
be a third source besides PARM and CEEOPTS, that is:
installations defaults. And maybe the installation defaults are
TRAP(OFF) ??
My former customer would have used TRAP(OFF) ... because he had his
own ESPIE and ESTAE routines (at least before that problem with the S0C8s
due to the wrong C code generation occured). And he would well used this
as an installation default.
Environment is STC, current release of z/OS (not sure exact version but
probably V2R1).
What should I be looking for? What would effectively override TRAP(ON)?
Would SDWACLUP ever be set on a vanilla S0C4?
It's at a customer and the S0C4 is extremely infrequent so "try this/try
that" is not an option. Why my own ESTAE? So I can deal with
unrecoverable
ABENDs, which LE will not. Why NOSPIE? So everything comes through the
ESTAE.
Charles
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN