The text read off it
[90.05.01]
90.05 Sample Problem
A. Introduction
The following sample problem is provided to illustrate various features and characteristics of the Commercial Translator system. The problem presented here is essentially the example described in the Commercial Translator General Information Manual. Modifications of two types have been made: those which were necessary for operation on the 7090, and those which improved the organization and efficiency of the problem.
B. General Problem Statement
The problem presented here is a simple payroll application. A master file and a detail file containing records for each employee are input and matched. A check, an updated master record, and possibly a bond order are output for each master-detail match. An error notice is given for unmatched masters or details. In addition to individual pay records, the payroll register produced contains departmental totals and a final summation of the run.
C. The MASTER File
For each employee on the payroll there is in the master file a record containing indicative information such as name, rate of pay, and number of exemptions. Accumulated year-to-date totals are also carried in the record.
1. Data Description
Data Description entries detail the structure of individual records and the formats of component fields. The fields which are used in arithmetic expressions are maintained in internal format; right justification is specified for increased operating efficiency.
The smallest unit of information which may be described by a Data Description entry and referenced by a procedure statement is the character composed of six bits. Individual bits may not be described or referenced in the language of Commercial Translator. The 9's which describe a field in internal mode inform the processor of the largest magnitude a field may attain and of the number of words (when R is specified) or the number of characters (when L or no justification is specified) required to contain the field.
Master records on tape or in storage occupy 709/7090 words in the following manner:
