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


Setting up the NCSSMP program

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

This topic describes the prerequisites of using the NCSSMP program.

Before you begin

You need to know how to access data sets and copy files.

Procedure

Perform the following steps as prerequisites to compiling, linking, and running the NCSSMP program.

  1. Copy the sample data sets from SEZAINST to your user ID.
    From location To location
    SEZAINST(NCSSERV1) user_id.ncsserv1.c
    SEZAINST(NCSCLNT1) user_id.ncsclnt1.c
    SEZAINST(NCSSMPI) user_id.ncssmp.idl
    SEZAINST(NSMPDEFS) user_id.nsmpdefs.h
  2. Copy the imported data sets from SEZAINST to your user ID.
    From location To location
    SEZAINST(RPCI) user_id.rpc.idl
    SEZAINST(BASEI) user_id.base.idl
    SEZAINST(NBASEI) user_id.nbase.idl
  3. To generate stubs, run NIDL using the following command:
       RUNNIDL NCSSMP IDL INC(nsmpdefs)
  4. Copy the data sets included by CPP to your user ID.
    From location To location
    SEZACMAC(NCSDEFS) user_id.ncsdefs.h
    SEZACMAC(BSDTOCMS) user_id.bsdtocms.h
    SEZACMAC(BASE) user_id.base.h
    SEZACMAC(IDL@BASE) user_id.idl@base.h
    SEZACMAC(NBASE) user_id.nbase.h
    SEZACMAC(LB) user_id.lb.h
    SEZACMAC(GLB) user_id.glb.h
    SEZACMAC(TYPES) user_id.types.h
    SEZACMAC(BSDTYPES) user_id.bsdtypes.h
    SEZACMAC(BSDTIME) user_id.bsdtime.h
    SEZACMAC(PFM) user_id.pfm.h
    C library user_id.stdio.h
    C library user_id.setjmp.h
    Note: C library header files depend on the compiler you are using. For example:
    • C370 2.2
    • AD/Cycle C/370™
  5. You must run CPP to change $ to _ before you can compile this code. To run CPP, enter the following commands:
       RUNCPP NCSSERV1 C
       RUNCPP NCSCLNT1 C
       RUNCPP NCSSMP@S C@SSTUB
       RUNCPP NCSSMP@C C@CSTUB
       RUNCPP NCSSMP@W C@CSWTCH

Results

You know you are done when RUNCPP completes with no errors.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014