Previous Topic: What You Can DoNext Topic: Creating Unique Match-key Names


Demonstration

Objective

This report matches a student master file (STUDENT-MAST), which is defined to the data dictionary, with a VSAM file containing course descriptions and prerequisite courses.

Procedure

Partial Code

 col. 2
 ▼
 DATABASE DICTNAME=DOCUDICT
 IN 257        FN=STUDENT-MAST  MK=COURSE-CODE

 IN 96  96  VS  MK=COURSE-NUM
 REC COURSE-NUM     1   3
 REC DESC           4  30
 REC PREQ          34        GROUP  AA  3.4
 REC COURSE         1   3    ELMNT  AA