CG02 - Batch Programming with Casegen - 2 Days

View Dates and Locations

Course Description

The course is aimed at developers not familiar with Casegen batch program development. This course covers all aspects of Batch Programming with Casegen. The course teaches the design, writing and testing of COBOL or PL/1 Casegen programs. Many exercises are performed by the developer, tailored to the client's Casegen operating environment, to ensure that the statements taught are fully understood and practical experience is gained.

As part of this course, INTERTEST or XPEDITER is also taught if applicable to the installation.


This course is suitable for analysts and programmers with COBOL or PL/1 knowledge. If possible, we recommend that training in DB2, DL/1 or VSAM, if applicable, is completed first.


Whilst covering the basics of Batch Casegen programming and how it is used, this course also aims to give an insight into structuring Casegen programs, data access and the data group, validation, report definitions, Casegen sort, merge and match programs and custom code.

On completion of this course the student will be able to:

  • Develop structured Casegen Batch Programs
  • Understand and use the different reporting groups
  • Generate Database access
  • Customise the generated data access
  • Understand and develop report programs
  • Understand and develop modular batch programs
  • Understand and and develop sub-programs
  • Understand and use the various custom code points within a Casegen program
  • Understand and manipulate Casegen generated variables


Development will be performed using:

  • Casegen


For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.

On-site course enquiry (from £165 pp per day)

Course Details

View Dates and Locations

Introduction To Casegen Batch
Why Use Casegen Builder?
Casegen Batch Development Structure
Batch Methodology
Casegen Batch Program Structure
Navigation Around Casegen Batch
Steps Required To Build An Batch Program
How To Access Casegen Batch

Using A Template Program
Copying A Program

Logical Groups
Group Definition
Text Entry
Data Fields
Report Layout Adjusting
Group Attributes
Header Group Attributes
Top Data Group Attributes
Data Group Attributes
Control Group Attributes
Trailer Group Attributes
Summary Group Attributes
Field Attributes
Field Sourcing

Program Structure
Working Storage
Batch Parameters

Using DB2 Tables
Using Sequential Files
Using Vsam Files
Data Access Types
Automatic Data Access
Manual Data Access
Data Access Customisation
Ignore Codes
Customising SQL

Native Code Points
Native Code Editor
External Copybook Specification

Casegen Batch Generated Variables
Batch Work Area (BWA)
Batch Work Area Field Names

File Editor
Transfers To Other Applications

Cobol II Generation

Analysing The Program Structure
An Example Of A Modular Batch System
Modular System Design - Two Separate Job Steps
Modular System Design - Single Job Step
Modular System Design
Automatic Code

Course Format

Practical sessions make up a large part of the course, allowing delegates to demonstrate and reinforce the lectures given. During these sessions the delegate will gain experience of writing and testing different types of Casegen Batch programs using the various program structures available.

Examples are used extensively, ranging from simple code snippets to full applications with complete 'real world' functionality. These are supplied at the start of the course and it is encouraged that the delegates execute and 'experiment' with these under the instructor's guidance as they are introduced.

These examples are available to take away, along with the delegate's own work.

The comprehensive Student Guide supplied is fully indexed serving as a useful reference tool long after the course has finished. Delegates will also be able to access a free help-line with technical questions relating to topics covered on the course.


Course Enquiry