We always used
DC H'0'
at my old customer's site; anything wrong with that?
Of course only in cases where we did not expect to get there;
otherwise we would output some messages and use a real
ABEND macro. Because it needs some effort to get the reason
of the S0C1 from the abending module and the location,
especially if there is more than one DC H'0' in one module.
(you need to look at the assembly listing, at least).
Kind regards
Bernd
Am 06.08.2018 um 17:56 schrieb Gord Tomlin:
On 2018-08-06 10:35, Ed Jaffe wrote:
We use 'Jxx *+2' which disturbs no registers and is guaranteed to
fail with an 0C1.
'EX 0,*' was my old standby, but 'Jxx *+2' eliminates the need for a
code base register and so is more generally usable in modern code.
--
Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
Support: https://actionsoftware.com/support/