This topic describes the steps of running a sample
Pascal API module.
Procedure
The following steps describe how to run the sample module:
- 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 optionENTER 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.
***
- 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 optionENTER 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.
***