Catalog file

The catalog file is a KSDS VSAM file which contains all information relating to the product inventory.

Records in the file have the following structure:
Name COBOL data type Description
WS-ITEM-REF-NUM PIC 9(4) Item reference number
WS-DESCRIPTION PIC X(40) Item description
WS-DEPARTMENT PIC 9(3) Department identification number
WS-COST PIC ZZZ.99 Item price
WS-IN-STOCK PIC 9(4) Number of items in stock
WS-ON-ORDER PIC 9(3) Number of items on order