bdfp1m31Programming Concepts and Reference

DFGPNL-Get Calling Program Address

Use this macro to get the address of the application program that issued the TPFDF macro or function call. This macro generates specific code for your environment that can be release dependent.

Format




label
is a symbolic name assigned to the macro statement.

Entry Requirements

None.

Normal Return

Register 14 (R14) contains the calling program address.

Error Return

R14 contains 0.

Programming Considerations

On return from this macro, the contents of R15 are unknown.

Examples

The following example returns the address of the application program that issued the TPFDF macro or function call.

DFGPNL

Related Macros

None.