To execute the SOM Compiler on one or more files that contain IDL specifications for one or more classes, use the sc. or somc as follows:

sc [-options] files (on AIX or OS/2)
somc [-options] files (on Windows)

where "files" specifies one or more .idl files.

Available "-options" for the command are detailed in the next topic. The operation of the SOM Compiler (whether it produces C binding files or C++ binding files, for example) is also controlled by a set of environment variables that can be set before the sc command is issued. The applicable environment variables are as follows: