REG12

REG12 returns a pointer that holds the current value of register 12.

Read syntax diagramSkip visual syntax diagramREG12()

If the REG12 built-in function is used to change storage, unpredictable results may occur.

The REG12 built-in function is supported only on z/OS.