ALIAS | NOALIAS (C only)
Category
Object code control
Pragma equivalent
#pragma options (alias) (C only), #pragma options (noalias) (C only)
Purpose
Generates ALIAS binder control statements, which help the binder locate modules in a load library, for each required entry point.
When ALIAS is in effect with no suboption, the compiler selects an existing CSECT name from the program, and nominates it on the NAME statement
When you use an empty set of parentheses, as in ALIAS(), or specify NOALIAS, the compiler does not generate a NAME control statement.
Syntax
Defaults
NOALIAS
Parameters
- name
- If you specify ALIAS(name), the compiler generates
the following:
- Control statements in the object module.
- A NAME control statement in the form NAME name
(R)
.R
indicates that the binder should replace the member in the library with the new member.
The compiler generates one ALIAS control statement for every external entry point that it encounters during compilation. These control statements are then appended to the object module.
Usage
If you specify the ALIAS option with LONGNAME, the compiler does not generate an ALIAS control statement.
The usage status of this option is inserted in the object file to aid you in diagnosing a problem with your program.
Predefined macros
None.
Related information
For complete details on ALIAS and NAME control statements, see z/OS MVS Program Management: User's Guide and Reference.