gtps1m33System Macros

ICLANC-Call a Secondary Library Routine

Use this system macro with C language support to:

Format




label
A symbolic name can be assigned to the macro statement.

GEN
This option is coded in the C language support CSECT (CCLANG) to generate a table of VCONs used to link to the secondary library routines.

LINK=fname
The name of a service routine using MVS-style parameter and register conventions. Code is produced to save registers, convert to IBM MVS-style register conventions, generate the quick enter linkage for the secondary library routines, and to convert back to TPF register conventions on return.

Entry Requirements

R9 must contain the address of the current ECB.

Return Conditions

TPF register contents are restored. Registers R10 through R13 remain unchanged.

Programming Considerations

This macro can be run on any I-stream.

Examples

This example generates the table of VCONs for secondary library routines:

ICLANC GEN

This example generates linkage to the secondary library routine called by the sin (sine) function:

ICLANC LINK=SIN