IRS - Mainframe Immersion - 2024

Java Coding Assignment - Examples

Assignment Notes
Users By State
This project includes:
  • Full JavaDocs, including an Overview and package-info files
  • RollingFileAppender log, with a 1Mb rollover, and 3 generations of history
  • Interfaces for the Action classes with mutiple implementaions
  • Chunk processing, to avoid reading large files into memory
  • Apache Commons CSV Reader to process the input
  • Apache Commons CSV Printer with header line to build the output
  • JUnit tests for Entity and Action classes
  • Lists to hold the processed data for printing
DB2 Parts table to QSAM
This project includes:
  • Interfaces for the Action classes
  • DB2 Access via a DAO Implementation
  • Dynamic allocation of a MVS dataset via ZFile
  • FileFactory to obtain the BufferedWriter
  • Property file to hold the DB2 connection details
Canadian Customer Summary
This project includes:
  • Full JavaDocs, including an Overview and package-info files
  • RollingFileAppender log, with a 1Mb rollover, and 3 generations of history
  • Interfaces for the Action classes with mutiple implementaions
  • Chunk processing, to avoid reading large files into memory
  • Apache Commons CSV Reader to process the input
  • ZFile to write to MVS (VSAM) files
  • JUnit tests for Entity and Action classes
  • HashMaps as lookup tables for the region data
Australian Customer Summary
This project includes:
  • Full JavaDocs, including an Overview and package-info files
  • RollingFileAppender log, with a 1Mb rollover, and 3 generations of history
  • A command line option to request a VSAM or Text file output
  • Interfaces for the Action classes
  • Chunk processing, to avoid reading large files into memory
  • Apache Commons CSV Reader to process the input
  • FileFactory to determine if the output is a MVS file or a Linux file
  • JUnit tests for Entity and Action classes
  • HashMaps as lookup tables for the region data
Airport Report
This project includes:
  • Dynamic Logging in a seperate class
  • DailyRollingFileAppender log
  • Interfaces for the Action classes
  • A HashMap as a lookup table for Country Names
  • A custom compare (sort) method
British Client Emails
This project includes:
  • DailyRollingFileAppender log
  • Interfaces for the Action classes
  • JUnit tests for Entity and Action classes
  • A date stamp as part of the output file name
  • A HashMap holding a custom entity class for accumulating the results
  • The custum entity class contains a List of Client entities
  • The results are sorted by the HashMap key
  • The results file containing a header line for each Postal Code Prefix
  • A fixed format output file
UK Landmarks
This project includes:
  • 1M - RollingFileAppender log
  • Package level logging configuration
  • Interfaces for the Action classes
  • HashMap to hold the Landmarks
  • Comparable Entity classes for a custom sort
ShippingReport.zip
This project includes:
  • Unix vs MVS reader and writers
  • PDS member list handling

Jonathan R. Earl
Jonathan@Earl-Family.Net

These examples are Open Source under the GNU Free Documentation License as noted here: Copyright