GENASM | NOGENASM (C only)

Category

Compiler output

Pragma equivalent

None.

Purpose

Instructs the compiler to generate High-Level Assembler (HLASM) source code instead of object code for the program being compiled.

When the NOGENASM option is in effect, the compiler generates object code in the output file.

Syntax

Read syntax diagramSkip visual syntax diagram
   .-NOGENASM-.   
>>-+-GENASM---+------------------------------------------------->

>--+-----------------------------------------------+-----------><
   '-(--+-Sequential filename-----------------+--)-'   
        +-Partitioned data set----------------+        
        +-Partitioned data set (member)-------+        
        +-z/OS UNIX System Services filename--+        
        '-z/OS UNIX System Services directory-'        

Defaults

NOGENASM

Parameters

Sequential filename
Specifies the sequential data set file name for the output file.
Partitioned data set
Specifies the partitioned data set for the output file.
Partitioned data set (member)
Specifies the partitioned data set (member) for the output file.
z/OS UNIX System Services filename
Specifies the z/OS® UNIX System Services file name for the output file.
z/OS UNIX System Services directory
Specifies the z/OS UNIX System Services directory for the output file.

Usage

Note: GENASM is only supported with the METAL option.

Because the GENASM option causes the compiler to generate code in HLASM source code format, no pseudo-assembly listing will be produced for the compilation unit when the LIST option is specified.

GENASM implies NOOBJECT.

IPA effects

See section Building Metal C programs with IPA in z/OS Metal C Programming Guide and Reference.

Predefined macros

None.

Related information

For information on the METAL option, see METAL | NOMETAL (C only).