Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

ABEND - Google Презентации

.pdf
Скачиваний:
4
Добавлен:
16.04.2015
Размер:
156.12 Кб
Скачать

ABEND (macro), result in log, PSW

Kirill Melentyev

Program Status Word (PSW)

... is an IBM System/360 architecture and successors control register which performs the function of a Status register and Program counter in other architectures, and more.

R – enable program event recording (PER)

T – enable dynamic address translation (virtual storage) I – enable I/O interrupts

E – enable external interrupts

Key – define storage protection key

M – enable machine checks

W – wait state

P – problem state (0 = supervisor state)

AS – address space (00 = primary space mode, 01 = secondary space mode, 10 = access register mode, 11 = home space mode)

CC – condition code

Program mask

Bit 20: enable fixed-point overflow exception

Bit 21: enable decimal overflow exception

Bit 22: enable hex floating-point exponent underflow exception

Bit 23: enable hex floating-point significance exception

Instruction address

– It is stepped by the length of the current instruction

Abend

An abend is an abnormal end or termination of a computer program because of some problem with how it is running

ABEND macro

The ABEND macro is used to initiate error processing for a task. ABEND can request a full or tailored dump of virtual storage areas and control blocks pertaining to the tasks being abnormally terminated, and can specify that the entire job step is to be abnormally terminated.

Parameters

completion code (can be user or system S0C4)

,DUMP (SYSUDUMP)

,,STEP

,,,code type (USER/SYSTEM)

,REASON=reason code

,DUMP,DUMPOPT=parm list addr (SNAP)

,DUMP,DUMPOPX=parm list addr (SNAPX)

ABEND (5),,STEP

ABEND X'0C4',DUMP,,SYSTEM

Symptom Dump

… is a system message, either message IEA995I or a numberless message, which provides some basic diagnostic information for diagnosing an abend

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]