Jagacy 3270 Features

  • 100% pure Java, thread-safe.
  • Internationalization support.
  • SSL, proxy and DBCS support.
  • Extended TN3270 (TN3270E) support.
  • 17 different terminal types (including 132 columns).
  • Over 30 different mainframe languages supported.
  • Configurable using properties, if desired. No changes necessary when host name or screens change.
  • Easily create a custom 3270 terminal emulator.
  • Small footprint (around 300K). Runs efficiently within the Eclipse and NetBeans IDEs.
  • Enable or disable the displaying of the 3270 session (in a window) while the application is running.
  • Includes a 3270 terminal emulator tailored to developing and debugging applications.

Jagacy VT Features

  • 100% pure Java, thread-safe.
  • SSL support.
  • Support for ANSI and XTERM protocols.
  • Configurable using properties, if desired. No code changes necessary when host name or screens change.
  • Small footprint (less than 200K). Runs efficiently within the Eclipse and NetBeans IDEs.
  • Enable or disable the displaying of the VT100/VT220 session (in a window) while the application is running.
  • Includes a VT100/VT220 terminal emulator tailored to developing and debugging applications.

Screen Scraping Sample

A simple screen scraping example would look like this (before error checking). Please refer to the Jagacy 3270 or Jagacy VT documentation for further information:


public class MyScrape extends Session3270 {

    // Constructor.
    MyScrape() throws JagacyException {
        super("myscrape", host, port, "IBM-3278-2", false);
    }

    // Log onto the mainframe.
    protected boolean logon() throws JagacyException {
	
        // Wait 30 seconds
        waitForChange(30000);

        writePosition(userIdRow, userIdColumn, userid);
        writePosition(passwordRow, passwordColumn, password);

        // Enter userid/password
        writeKey(Key.ENTER);

        // Wait 30 seconds
        waitForChange(30000);

        return true;
    }


    // Logoff the mainframe.
    protected void logoff() throws JagacyException {
	
        writePosition(exitRow, exitColumn, "=x");

        writeKey(Key.ENTER);

        // Wait 30 seconds
        waitForChange(30000);
    }


    private String getData() {
        return readPosition(dataRow, dataColumn, dataWidth);
    }


    public static void main(String args[]) {
	
        // Show a session window
        System.setProperty("myscrape.window", "true");
		
        // Create the screen scraper
        MyScrape s = new MyScrape();
		
        s.open();
		
        // Print the data
        System.out.println(s.getData());
		
        s.close();
		
        System.exit(0);
    }
}
		

Jagacy on the Web

  • Jameleon (an automated testing framework) has a Jagacy 3270 plugin for mainframe testing.
  • Tanuki Software has a Java wrapper for creating a Jagacy Windows service.
  • Dignitas partners with Jagacy Software LLC "... utilising their software with several Clients to automate Mainframe Testing and increasing test throughput by 100 times."
  • Jagacy 3270 and Jagacy VT were picked as the Java Posse's Library of the Week.
  • Screen-scraper.com recommends Jagacy 3270.
  • A developer's review of Jagacy 3270.
  • Automated Acceptance Testing for the Mainframe with Cucumber and Jagacy 3270.

Jagacy TN3270 Screenshots