Show 

Home > Sample Applications > Overview

Overview of Sample Applications

 

There are a number of sample applications that demonstrate how to use the various features of PASSPORT Host Integration Objects.

 

Some of these sample applications require access to the Zephyr z/OS mainframe host and assume that a connection can be established to this host. The configuration file has the .ZCC file extension and may be edited with NOTEPAD.EXE or any text editor. The IPHostName= parameter may be modified to point to any mainframe system you have access to. For all other sample applications, the IPHostName= parameter in the .ZCC file is empty and will need to be populated with the IP address of the mainframe system you want to connect to.

 

For the VBScript sample, note that some of the functions refer to specific fields or areas of the host screens. These functions may need to be modified if connecting to a different host. For the WAHIO sample, changes will need to be made to the source and the application will need to be recompiled.

All sample programs, except the Terminal Control sample programs, are written using a model 2 screen size. This provides an 80 column by 24 row screen display. In order to use these sample programs with larger screen sizes, you must modify the source code to add this capability, then rebuild the application.

 

The sample applications can be categorized according to programming language, whether it is a client or server based application, and which PASSPORT COM Objects are being used: either the session control, Terminal Control or both.

 

Programming Language

Programming Language

Sample Programs

Sub Folder Location

C#

Sample Program - C# .NET Client (CSClient)
Sample Program - C# ASP.NET Server (WAHIO)
Sample Program - C# ASP.NET Server (AutoHTML)

 

\DotNetClients\CSClient\
\DotNetServers\CSServer\
\DotNetServers\AutoHTML\
 

C++

Sample Program - Visual C++ 

 

\VCSample\

Visual Basic

Sample Program - VB .NET Client
Sample Program - Visual Basic
Terminal Control Sample - Visual Basic
 

\DotNetClients\VBClient\
\VBSample\
\TermControlSample\

VBScript

Sample Program - VBScript
Terminal Control Sample - HTML Page
 

\VBScriptSample\
\TermControlSample\

 

COM Object Being Used

COM Object Being Used

Sample Programs

Sub Folder Location

Session Control
 

Sample Program - C# ASP.NET Server (WAHIO)
Sample Program - C# ASP.NET Server (AutoHTML)
Sample Program - Visual C++
Sample Program - Visual Basic
Sample Program - VBScript
 

\DotNetServers\CSServer\
\DotNetServers\AutoHTML\
\VCSample\
\VBSample\
\VBScriptSample\

Terminal Control

Terminal Control Sample - Visual Basic
Terminal Control Sample - HTML Page

 

\TermControlSample\
\TermControlSample\

Both

Sample Program - C# .NET Client
Sample Program - VB .NET Client
 

\DotNetClients\CSClient\
\DotNetClients\VBClient\