Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

EAM - Process EAM files

Macro type: R type

All processing requests addressed to the EAM access method are handled via the EAM macro. The operation to be performed is determined by the contents of the MFCB.

Format

Operation

Operands

EAM

mfcbadr / (1)

[,PARMOD=24 / 31]

Operand descriptions

mfcbaddr

Address of the MFCB.

(1)
The address of the MFCB is stored in register 1.

PARMOD
Specifies the generation mode for the macro.

Default value: The value predefined for the generation mode by means of the GPARMOD macro or preset by the assembler.

= 24
The macro is expanded in accordance with the 24-bit interface format. The object code can thus run only in 24-bit addressing mode.

= 31
The macro is generated as addressing mode-independent.

Programming note

The EAM macro overwrites the contents of registers 0, 1, 14 and 15.

Return codes

If PARMOD=24, the return code is placed in register 15; for PARMOD=31, it is placed in the IDMRETCO field in the MFCB.

Return code

Meaning

0

Operation completed successfully

4

Operation not completed successfully; check sense byte (IDMFEB)

8

After check operation: checked I/O operation not yet terminated