z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Running the sample module

z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference
SC27-3660-00

This topic describes the steps of running a sample Pascal API module.

Procedure

The following steps describe how to run the sample module:

  1. Run the Pascal API sample program with the Receive option (shown in Figure 1).

    Run PSAMPLE to start the sample program on the TSO command line. The following example is a typical response:

    Figure 1. Sample Pascal API with receive option
    ENTER TSO COMMAND, CLIST, OR REXX EXEC BELOW:
     
    ===> psample
     
    Transfer Mode: (Send or Receive) receive
     
    Host Name or Internet Address: mvs1
     
    mvs1
    Transfer rate 483884. Bytes/sec.
    Transfer rate 442064. Bytes/sec.
    Transfer rate 478802. Bytes/sec.
    Transfer rate 549568. Bytes/sec.
    Transfer rate 635116. Bytes/sec.
    Program terminated successfully.
    ***
  2. Run the Pascal API sample program with the Send option on a second TSO ID (shown in Figure 2).

    Run PSAMPLE on the TSO command line to start the sample program. The following example is a typical response:

    Figure 2. Sample Pascal API with send option
    ENTER TSO COMMAND, CLIST, OR REXX EXEC BELOW:
     
    ===> psample
     
    Transfer Mode: (Send or Receive) send
     
    Host Name or Internet Address: mvs1
     
    mvs1
    Transfer rate 516540. Bytes/sec.
    Transfer rate 487030. Bytes/sec.
    Transfer rate 427816. Bytes/sec.
    Transfer rate 566186. Bytes/sec.
    Transfer rate 612128. Bytes/sec.
    Program terminated successfully.
    ***

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014