CG01 - On-line Programming with Casegen - 3 Days

View Dates and Locations

Course Description

The course is aimed at developers not familiar with Casegen on-line program development. This course covers all aspects of On-Line 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.


Pre-requisites

This course is suitable for analysts and programmers with COBOL or PL/1 knowledge, together with some basic understanding of CICS or IMS. If possible, we recommend that Casegen Batch training, GC02, is completed first, as well as training in DB2 or DL/1, if applicable.


Objectives

Whilst covering the basics of On-Line 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, screen definitions, Casegen list programs and custom code.

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

  • Develop structured Casegen On-Line Programs
  • Develop screen based programs
  • Understand and use the different validation methods within Casegen - field level validation, cross-field edits and segment edits
  • Generate Database access
  • Customise the generated data access
  • Understand and develop list programs
  • Understand and use the various custom code points within a Casegen program
  • Understand and manipulate Casegen generated variables

Environment

Development will be performed using:

  • Casegen

Customisation

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

CASEGEN OVERVIEW
Introduction To Casegen Builder
Casegen Builder Development Structure
Casegen Builder Program Structure
Navigation Around Casegen Builder
Steps Required To Build An On-Line Program
How To Access Casegen Builder
Summary

PROGRAM CREATION
Open Program
Changing ProjectS
New Program
Using A Template Program
Copying A Program

SCREEN DESIGN
Open Program
Main Menu
Designer Menu - Text Entry
Data Field Entry
Fields Menu
Errmsg1
Designer Menu - Cursor Positioning
Designer Menu - Screen Layout Adjusting
Designer Menu - Field Adjusting
Designer Menu - Field Attributes
Lists Menu - Field Attributes
Output Field Attributes
Input Field Attributes
Outin Field Attributes
Action Field Attributes
Field Name
Variable Name
Required
Intensity
Upper Case Conversion
Blank When Zero
Picture
Protected
Map Out
Casegen Specification
Field Sub
Input/Alpha Field Sub
Output/Alpha Field Sub
Input/Numeric Field Sub
Output/Numeric Field Sub
Translate
Mask
Range
Values
Designer Menu - Colour Control
Full Screen Editing

PROCESSING DEFINITION
Program Structure
Misc Menu - Working Storage
Misc Menu - Inter-Program Communication
Misc Menu - Misc Parameters
Misc Menu - Misc Parameters More
Transfer Control

DATABASE ACCESS
DB2 Data Access Types
Automatic Data Access
Manual Data Access
Data Access Call Types
Data Access Customisation
Ignore Codes
Data Access Result Testing
Customising Affected Columns
Into Clause Customisation
Where Clause Customisation
DB2 - Fields
DB2 - Columns
DB2 - Aliases
DB2 - Comparison
DB2 - Functions
DB2 - Time/Date
DB2 - Keywords

NATIVE CODE
Native Code Editor
Skeletons
External Copybook Specification
Guidelines
Methods Of Including Custom Code
Custom Code Points
Nested Copy
User Section
Automatic Code

CONSISTENCY VALIDATION
Types Of Consistency Checks
Xfvalid - Cross Field Validation
Dbvalid - Database Validation
Source - Cobol Ii Source Code

PFKEY HANDLING
PFKEY Selection
Invoke Program Transfer
Display Error Message
Customised Pfkey Handling
External Copybook Inclusion

LIST SCREEN PROCESSING
Program Structure Additions
Characteristics Of A List Screen
List Screen Restrictions
Group List Definition
Extra Parameters
Parameters
Required Screen Fields For Paging
Automatic Line Numbering
Action Field Extract Array/Target Parameter
Transfer Work Area Fields
List Data Access

CASEGEN VARIABLES
Program-Control
Link-Program-Suffix
Pfkey-Indicator
Attribute Setting

CASEGEN UTILITIES
File Editor
Transfers To Other Applications

PROGRAM GENERATION
Cobol II Generation
BMS Source Generation

PROGRAM TESTING
Xpediter/CICS
Invoking Xpediter/CICS
Testing With Xpediter/CICS
Program Control
Single Stepping
Display/Update Of Variables
Forcing An Abend
Further Information


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 On-Line 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.


Availability

Course Enquiry