# Compiling C Programs

The section is about the compilation JCL for messaging C sample programs.

## Procedure

1. Customize the Substation ES C language options file.

   This member is the options file for z/OS C compilations, which must also include members from the C libraries and members from Rendezvous or EMS libraries. You must specify the correct values for the search path.

   Data Set: `USERHLQ.CNTL`

   Member:
   - `OPTFSXR` (for Rendezvous)
   - `OPTFSXJ` (for EMS)
2. Customize the Substation ES C language compilation JCL.

   The following JCL uses a procedure that you can edit so that the JCL conforms to the requirements of your site.

   Data Set: `USERHLQ.JCL`

   Member:
   - `SXR3NCPL` (for Rendezvous)
   - `SXJ3NCPL` (for EMS)

Copyright © TIBCO Software Inc. All rights reserved.