6.2
SOURCE LIBRARY
PREPARATION
60229400
The information to be copied may appear on the system library file (*LIB) or
on an auxiliary library file. These are mass storage files referenced through
the system library directory (*DIR) or an auxiliary library directory. COBOL
source library entries are placed on a library file using the MASTER library
generation routine GLIB. GLIB is described in the MASTER Installation
Manual. BCD COBOL source statements are written on the library in card
image format and an entry is placed in the non -resident library subprogram
directory using the $BCD card as follows:
$BCD, library-name
COBOL source statements
Each Environment or Procedure Division paragraph, file description, record
description; or report description entry must be placed on the library as a
separate
$BeD
entry.
Library names may not exceed eight characters.
Examples:
$BCD,SCOMP
SOURCE-COMPUTER, 3300.
$BCD, PAY -FILE
FD PAY-FILE LABEL RECORD OMITTED
DATA RECORD IS PAY-CARD.
$BCD, PAY -CARD
01 PAY-CARD
02 NAME PIC X(30).
02 PAY-RATE PIC 9(5).
$BCD, SECT-1
MASTER-UPDATE SECTION.
PARAGRAPH-1.
OPEN INPUT ••••
$BCD,PAR-2
PARAGRAPH-2.
CLOSE •.•.
The $BCD card always begins in card column 1; the COBOL source statements
follow the COBOL coding sheet format (chapter 8) .
6-3
Need help?
Do you have a question about the 3300 and is the answer not in the manual?