z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Compiling the NCSSMP program

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

This topic describes the steps of compiling the NCSSMP program.

Before you begin

You need to have completed the steps in Setting up the NCSSMP program.

About this task

You can use several methods to compile, link-edit, and execute your program in MVS™. This topic explains how to compile your C data sets generated by RUNCPP under MVS batch, using IBM-supplied cataloged procedures.

The following list contains data set names, which are used as examples in the following JCL statements:
user_id.OBJ
A partitioned data set that contains the compiled versions of C programs as its members.
user_id.LOADLIST
A partitioned data set that contains the loadlist as its members.
user_id.LOAD
A partitioned data set that contains the link-edited versions of C programs as its members.

In order for the program to compile correctly, you must make changes to the EDCC cataloged procedure. For more information about the procedure, see z/OS XL C/C++ User's Guide.

Procedure

Perform the following steps to compile your program.

  1. Remove the OUTFILE and OUTDCB parameters.
  2. Add the following to the CPARM parameter:
           CPARM=‘DEF(IBMCPP,IBM370)’,
  3. Replace the //SYSIN DD statement and the //SYSLIN statement with the following:
           //SYSIN   DD  DSN=user_id.&MEM..CPPOUT,DISP=SHR
           //SYSLIN  DD  DSN=user_id.OBJ(&MEM),DISP=SHR
  4. Add the following //SYSLIB DD statement:
         //SYSLIB  DD  DSN=SEZACMAC,DISP=SHR
  5. Submit the compilation job at the Spool Display and Search Facility (SDSF) command panel, by entering the following:
           /s EDCC,MEM=NCSSERV1
           /s EDCC,MEM=NCSCLNT1
           /s EDCC,MEM=NCSSMP@S
           /s EDCC,MEM=NCSSMP@C
           /s EDCC,MEM=NCSSMP@W

Results

You know you are done when no errors are received.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014