IBM i Access for Windows Toolkit

Emulation

The following sample programs are available to help develop applications using the IBM i Access for Windows emulation APIs:

ActiveX automation objects

  • Click to show description vbeclsmp.exe – Visual Basic Emulator Class Library sample.

    This is a Visual Basic sample using the Emulator Class Library automation objects to start, stop, connect, and disconnect PC5250 sessions.

C/C++ APIs

  • Click to show description hllsmp.exe – C sample using the PC5250 Emulation EHLLAPI interface.

    This sample shows how to request keystrokes and log on to a IBM i, using the PC5250 EHLLAPI interface.

  • Click to show description pcsmain.exe – C sample using the PC5250 Emulation PCSAPI interface.

    PCSMAIN provides a sample dialog that allows you to start, stop connect, and disconnect PC5250 sessions, and perform a simple query to determine the session status as well as to find out what .ws is associated with the session.

  • Click to show description vbhllapi.exe – Visual Basic sample using the PC5250 Emulation EHLLAPI interface.

    This is a Visual Basic sample dialog that shows how the various EHLLAPI APIs work and the output that is generated by them. EHLLAPI APIs allow you to perform communication management, send keystrokes to a session, query information about the session and/or the presentation space, write to the presentation space, as well as many other functions.

  • Click to show description vbpcsapi.exe – Visual Basic sample using the PC5250 Emulation PCSAPI interface.

    This Visual Basic sample program shows how to:

C++

  • Click to show description eclmon.exe – A sample Emulator Class Library application which implements a PC5250 "system monitor".

    This is a sample ECL application which implements a PC5250 "system monitor". It monitors the status of all 26 sessions and allows the user to start, stop, connect, and disconnect sessions. It also displays the presenation space, field list, and other information about any session.

  • Click to show description eclsamps.exe – A collection of all the Emulator Class Library sample code.

    This is a collection of all the sample code that appears in the C++ chapter of the Emulator Class Library document (SC31-8527-00). Each sample is a function of the form "SampleXXX". A main driver routine is provided which will prompt for a sample number and run the corresponding function. The Emulator Class Library provides a C++ interface to the same set of functions provided by the C EHLLAPI interface. This includes classes that allow you to start and stop PC5250 sessions, query various attributes of the session, retrieve and put data to the screen, and monitor for keystrokes or events.

DDE

  • Click to show description spl2file.exe – C sample using the PC5250 Emulation DDE interface.

    When displaying a spooled file on the system, this sample allows you to save the spooled file from the screen to an ASCII file. This sample works only when viewing the spooled file with screen size set to 24x80.

  • Click to show description vbdde.exe – Visual Basic sample using the PC5250 Emulation DDE interface.

    This Visual Basic samples shows how to use the PC5250 DDE interface to:

Contact IBM

  • Call IBM Support Line:
    1-800-IBM-SERV (1-800-426-7378)1-800-426-7378
    Inside the US

IBM Power Systems deliver flexibility and choice of operating systems to enable your business to support the next generation applications for big data and analytics and cognitive computing that are transforming how organizations work today. Whether running 1, 2, or all 3 - coupled with PowerVM, they maximize the benefit of Power Systems in your business.

Transform your business with Systems Software that enables virtualization, high availability, flexibility, security and compliance on Power Systems™. IBM’s integrated approach to developing Systems and Systems Software together delivers optimized results with Power Systems.

As an open innovation platform, Power Systems is optimized for big data and analytics performance and to deliver scale-out economics and security for the cloud. IBM and IBM Business Partner solutions exploit key capabilities in IBM Power Systems.

Over the last five years thousands of clients have migrated to IBM Power Systems for choice and flexibility. Learn how Power Systems has helped them revolutionise the way IT is developed and delivered, optimise for big data and analytics, and support private, public and hybrid offerings for scale-out or scale-up implementations all while improving business performance, reducing risk, and establishing a platform for growth.

Additional information