![]()
Products Services Support Sales News White-Papers Academic Contact Us
Program Samples
Person This sample is uses the graphical SCREEN SECTION demonstrating menu, push buttons and the display of jpg pictures in a graphical program. To execute this sample you must download to a local machine.
CallJava
illustrates a COBOL program calling java.
COBOLCallingCOBOL This sample is a COBOL program calling a COBOL subprogram and passing parameters in both directions. Parameters include alphanumeric, numeric, binary, group, and java objects. The default passing convention is BY REFERENCE, not BY VALUE. That means that the address of the parameter is passed, not the actual literal value.
CallCobol2
illustrates PERCobol calling an HP COBOL II on MPE/iX. A descriptive text describes this sample.
Demo Server
illustrates a COBOL application running multiple threads and supporting any number of clients.
Client
and Server
JBOSS sample illustrates building an Enterprise Java Bean with PERCobol. Enterprise JavaBean Guide documentation will aid in understanding the creation and deployment of EJBs using PERCobol.
Graphics
illustrates using the graphic SCREEN SECTION elements for building platform independent GUIs. An executable sample is available at http://www.legacyj.com/samples/graphics.html
Grid
illustrates a COBOL application that will calculate data by rows and columns
Register
illustrates a COBOL servlet that accepts customer data and stores the results in a COBOL file. This example also illustrates dynamic html.
Windows
is a single program which demonstrates the use of multiple windows. Creating a new window at the beginning of a subprogram and destroying the window when done, control will revert back to the existing window. (You can use LINE and COLUMN for the DISPLAY creating the window to do positioning.)
SQLCursors
illustrates SQL Cursors with LegacyJ PERCobol.
PL/SQL
illustrates PL/SQL with LegacyJ PERCobol.
CICS LINK Sample using LegacyJ PERCobol and Transaction Platform
COBOL to LTP Linker Sample to illustrate LINKing from a Batch COBOL application to an online LTP application. (Download includes companion documentation.
LTP SQL JMS Sample for LTP, CICS START (i.e., JMS), & SQL using DriverManager
LTP SQL JMS Sample for LTP, CICS START (i.e., JMS), & SQL using DataSource.
SQL-JAVA-COB Sample illustrates a java program that updates an SQL row in an SQL table, then calls a COBOL program to displays the row, updates and row to then goback to the java program, which in turn displays the row. The java program passes a SQL connection.
JSP COBOL Sample of COBOL program with JSP web interface.
A calculator built and compiled with PERCobol; contact LegacyJ for a copy.
Home About Us Privacy Legal
© Copyright LegacyJ Corp. 1998, 2007
All Rights Reserved.All trademarks are the properties of their respective owners or licensers.