Getting Started


Appendix C. Samples in repositories

Samples can be used to test your system setup. You should be able to generate and run these application systems on the workstation or on the host. The samples are listed in alphabetical order by repository name. File names in the form *J.DAT file are for Java and *S.DAT are for Smalltalk.

Where appropriate, a configuration map or project name is shown. Many of the samples are managed as applications on Smalltalk and therefore, will not have a configuration map name corresponding to a project name. Many of the samples that are available for Smalltalk show only the repository name and the application name.

Repository Name on Java/Repository Name on Smalltalk
Project/Configuration Map Name

Package/Application Name(s)
Brief explanation of what the sample does.

EZEREMPJ.DAT / EZEREMPS.DAT
VAGen Employee Sample / No configuration map

com.ibm.vgj.sample.ezeremp / HptSampleEzerempParts
This sample is a simple employee database system. You can use this example to verify that your system can properly access DB2 data. The file EZEREMP.IXF contains a DB2 table and data for use with this application.

EZERMSGJ.DAT / EZERMSGS.DAT
VAGen Message Conversion Sample / No configuration map

com.ibm.vgj.sample.ezermsg / HptSampleEzermsgParts
This sample is used on the host to convert user message files to message table parts in external source format.
Note:Because this file includes some VAGen parts that have the same names as parts in EZEREMP*.DAT, you should unload the applications/packages you imported from this file, before you load the one imported from EZERMSG*.DAT.

EZERPCBJ.DAT / EZERPCBS.DAT
VAGen PCB Sample / No configuration map

com.ibm.vgj.sample.ezerpcb / HptSamplePcbParts
This sample contains examples of record definitions corresponding to all PCB types.

EZERSMPJ.DAT / EZERSMPS.DAT
VAGen Ezersmp Sample / No configuration map

com.ibm.vgj.sample.ezersmp / HptSampleEzersmpParts
This sample contains examples showing how to develop applications for basic business requirements. Applications for accessing SQL databases, DL/I databases and data files, and versions of these applications customized for the IMS environment are included.

The following files contain DB2 tables and data for the EX00A program. To use any of the tables, you must import them using:

File Table name
INVENTRY.IXF INVENTORY
QUOTATNS.IXF QUOTATIONS
SECURITY.IXF SECURITY
SUPPLRS.IXF SUPPLIERS

The following files contain IMS program specification blocks, database definitions, and data for the EX00AD program:

  • SUPPQDBD.DBD--Database definition source file for the SUPPQDB database
  • SUPPINDX.DBD--Database definition source file for the SUPPQDB database
  • INVDB.DBD--Database definition source file for the INVDB database
  • INVINDX.DBD--Database definition source file for the INVDB database
  • EX99PS.PSB--Program specification block source file
  • SUPPQDB.DTA--Data file for the SUPPQDB database
  • INVDB.DTA--Data file for the INVDB database

The following files are data files for the EX00AV program.:

  • INVNFILE.CSP
  • QUOTFILE.CSP
  • SUPFILEV.CSP
  • EZERSMP.RAF (the resource association file)

These data files are in a format usable by the VisualAge Generator test facility. To use these files with EX00AV, you must update the entries in the EZERSMP.RAF file with the correct physical path of the first 3 files, if it has changed from the default path.

To generate the sample applications, use the default generation options file, create a Resource Association part named EZERSMP, read the file EZERSMP.RSC into it and specify it as the resource association file.

However, if you intend to generate and run the sample DL/I program, EX00AD, on host environments other than IMS, you need to remove ELAWORK from PSB EX99PS before generation. Otherwise, message ELA00215P, PSB does not match VisualAge Generator Developer PSB definition is returned when the applications is run.

EZERADFJ.DAT / EZERADFS.DAT
VAGen ADF Work Database Sample / No configuration map

com.ibm.vgj.sample.ezerwadf / HptSampleEzerwadfParts
This sample contains examples of record definitions for the ADF Work Database.

ICPKGS.DAT (Smalltalk only)
VAGen Samples IC Packaging

HptICSample4GLApp

HptICSampleApp1

HptICSampleApp2

HptICSampleCommonPartsApp

This sample is used to demonstrate automated IC packaging. For more information on these samples, refer to the VisualAge Generator User's Guide.

MQJ.DAT / MQS.DAT
VAGen MQ Sample / No configuration map

com.ibm.vgj.sample.mq / HptSampleMQApp
This sample includes programs which demonstrate two ways of accessing MQI, manual and automatic. The programs which demonstrate how to call MQI manually are described in the VisualAge Generator User's Guide. The programs which demonstrate how to call MQI automatically are described in the file MQ.TXT, which is located in the same directory as this DAT file.

STAFFJ.DAT / STAFFS.DAT
VAGen Staff Sample / No configuration map

com.ibm.vgj.sample.staff / HptSampleStaffParts
This sample application is a simple employee database system with a graphical user interface that displays a list of employees. The list includes user IDs, last names, salaries, and commissions. The file STAFF.IXF contains a DB2 table and data for use with this application.

This application/package includes programs that are used by the stored procedure sample. See the VisualAge Generator Design Guide for more detailed information on this sample. The following files are included with this sample: STAFF.QMF and STFPROC.SQL.

WEBJ.DAT / WEBS.DAT
VAGen Web Transaction Sample / No configuration map

com.ibm.vgj.sample.map3270 / HptSample3270MapApp

com.ibm.vgj.sample.webmap / HptSampleWebApp

This first sample is a set of text programs created using VisualAge Generator templates. The programs list and update the EMPLOYEE and DEPARTMENT tables in the DB2 sample database.

The second sample is the same set of programs modified to use web user interface records (UI Records) instead of text maps. For additional information on this sample, see WEB.TXT.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]