RSIC COMPUTER CODE PSR-040
1. NAME AND TITLE
GENRD: Free Format Card Input Processor.
2. CONTRIBUTOR
Los Alamos National Laboratory, Los Alamos, New Mexico.
3. CODING LANGUAGE AND COMPUTER
Fortran IV; CDC 6600, IBM 360.
4. NATURE OF PROBLEM SOLVED
GENRD reads, processes, and stores free format numeric and Hollerith input data from cards.
5. METHOD OF SOLUTION
GENRD reads input data as a card image, decodes the resulting character string to form a set of
integers, real constants, or Hollerith words, and stores the set into a container array specified in the
parameter list.
6. RESTRICTIONS OR LIMITATIONS
There is no provision for typing double precision, complex, or logical input. GENRD cannot
recognize octal or other non-standard input forms. Hollerith information cannot be continued from one
card to the next nor can it be contained within a repeat specification. Suggestions are included in the
report for ways to overcome some of these difficulties. There is no provision for limiting the length
of a digit string since the maximum number of digits which can be used to represent an integer is
machine dependent.
7. TYPICAL RUNNING TIME
The rate of processing an input deck of mixed numeric and Hollerith data is 70 cards per second
of central processor time on the CDC 6600 computer.
8. COMPUTER HARDWARE REQUIREMENTS
GENRD is operable on the CDC 6600 computer (A) or the IBM 360 computer (B). It requires
300010 words of core and three disk or tape files.
9. COMPUTER SOFTWARE REQUIREMENTS
A Fortran IV compiler is required. The test program was run under the CDC 6600 SCOPE 3
monitor and the IBM 360 Disk Operating System.
10. REFERENCES
a. Included in documentation:
Clarice W. Cox, "GENRD: A Free-Format Card Input Processor," LA-4793 (January 1972).
"Notes on GENRD Package, CDC-6600 Version."
"Notes on GENRD Package, IBM-360 Version."
b. Background information:
"ANSI Standard Fortran," USAS X3.9-1966 (March 7, 1966).
11. CONTENTS OF CODE PACKAGE
Included are the referenced documents (10.a) and one (1.2MB) DOS diskette which contains the
source code and sample problem input and output.
12. DATE OF ABSTRACT
April 1972; updated November 1983.
KEYWORD: FREE FIELD FORMAT