🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.asm370
Article #168

abend macro

#168
From: ROBERT J CONCANNON
Date: Thu, 05 Oct 1989 19:20
10 lines
1190 bytes
we have a need for a small subroutine callable from cobol that will produce
programmer-specified user abends (and abend codes, u4095 etc) without
hardcoding the specific abend code in the source. in other words, i would
like to pass the required value at runtime to a subroutine containing the
#abend macro. i am only a rudimentary assembler programmer, and the only
ways i see to do this are definitely 'hokey'. the problem is that the
macro expansion requires a non-relocatable variable (it embeds the abend
code inline in the machine code) and anything i want to pass is relocatable.
is there an easy way to circumvent this restriction? thanks, bob concannon,
university of alaska, fairbanks
Technical Details
Message-ID: <8910060228.AA18981@brazos.rice.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!@rice.edu:SXRJC@ALASKA.BITNET

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!@rice.edu:SXRJC@ALASKA.BITNET
From: @rice.edu:SXRJC@ALASKA.BITNET (ROBERT J CONCANNON)
Newsgroups: comp.lang.asm370
Subject: abend macro
Message-ID: <8910060228.AA18981@brazos.rice.edu>
Date: 5 Oct 89 19:20:58 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: IBM 370 Assembly Programming Discussion List <@rice.edu:ASM370%UCF1VM.BITNET@ricevm1.rice.edu>
Distribution: inet
Organization: The Internet
Lines: 10