image

Image
Image
Image
Image
Image

Examples:
Applications Common Gateway Interfaces Special Interfaces REXX Archived REXX Cobol Visual Basic SSL
image


Sample Code: Applications

TCP/IP for VSE



 

* LPRDEMO -This is an example of writing a program that will invoke a VSE CLIENT. In this case, it will invoke the LPR client to cause it to send a report to a PC somewhere on the LAN. You will need to modify the source code's hard coded IP address and the file name for this demo to work on your system.
Download the program code.

* FTPDEMO - This program will allow you to send data from a VSE assembler program via FTP! This program will use the SOCKET FTP command to connect to a specific IP address, perform a series of command, retrieve the responses, and display the result. You can also add GET and PUT to the series of inline.
Download the program code.

* SAMSERVR - This contains a pair of programs. One of them is a client, the other is a server. You can execute these in separate partitions, or even separate TCP/IP for VSE sites and demonstrates the ease of creating your own client/server applications.
Download the program code.

* SAMPBSDC - This is a sample TCP Client/Server application that uses the BSD-C interface. The client will establish a connection, read commands from SYSIPT, display the data on SYSLST and SYSLOG, and send the commands to the server. The server will acknowledge the data and respond to the client. The client will display the response on SYSLST and SYSLOG. After all of the SYSIPT data has been processed, the client will terminate, and the server will wait for more data.
Download the program code.

* SERV$DA - This stand-alone server program operates a lot like CGI$DA with the exception that you TELNET into port 666 and you hit ENTER to refresh the screen. Press a non-blank key, and the session terminates, and the server is ready for another session. This is a nice demonstration of a simple server that supports one session at a time.
Download the program code.

* SERV$DAM - This program does the same thing as SERV$DA, but supports multiple concurrent users by using a more complex system where a main task opens a socket and passes the remainder of the session to a subtask. The main task then allocates another socket and waits for another connection and repeats the process. This is a nice demonstration of a more complicated server that support more than 200 concurrent requests at a time.
Download  the source code.

* SENDBEEP - Want to have your numeric or alpha numeric pager go off from a VSE batch job? This example shows how to POST a request to SMARTBEEP.COM and do just that. It is easily configurable to work for any beeper service that allows paging from their web site.
Download the source code

* SERVCICS - Do you want to write a multi-tasking CICS-based server? This assembler program has a main task that handles the repeated SOCKET OPEN requests and then passes control to a subtask that will handle all of the RECEIVE/SEND/CLOSE processing. It comes with a REXX batch program that is used for testing communications with the CICS server. You can also run multiple tests against the CICS server at the same time!
Download the source code.

back to top


This page and all materials residing on this site Copyright ® 1996, 2008 by Connectivity Systems Incorporated. You may read, download, and copy these materials only for the purpose of evaluating or publicizing Connectivity Systems, its services and products or in accordance with a license agreement with Connectivity Systems.



image