RSICC Home Page

RSIC COMPUTER CODE PSR-067

1. NAME AND TITLE

MAINTAIN: Code System for Use in Maintaining and Revising Card Image Files on Tape.

The present version is regarded as MAINTAIN II. The previous version was written originally to store and retrieve data in connection with the on-line Conversational Remote Batch Entry (CRBE) System at ORNL. The code has wider application and was revised to MAINTAIN II to accommodate any card image format and provide indexed printouts.

2. CONTRIBUTOR

Oak Ridge National Laboratory, Oak Ridge, Tennessee.

3. CODING LANGUAGE AND COMPUTER

Fortran IV and Assembler Language; IBM 360/370.

4. NATURE OF PROBLEM SOLVED

MAINTAIN copies card image data onto tape for backup or storage. A set of commands is used to control the operations such as writing new data blocks, replacing old data blocks, printing blocks, or retrieving blocks for output.

5. METHOD OF SOLUTION

MAINTAIN utilizes two tapes. A new tape is written with data merged from an old tape and from input. Various portions may be printed or routed to the output. All operations are controlled by a set of commands provided in the input.

6. RESTRICTIONS OR LIMITATIONS

None noted.

7. TYPICAL RUNNING TIME

The running time depends on the amount of data processed. On the IBM 360/91 computer, GO time for 30 cards read, 4000 lines printed, 930 cards punched was 8 seconds; GO time for 2700 cards read, 13800 lines printed, 800 cards punched was 1.07 minutes.

8. COMPUTER HARDWARE REQUIREMENTS

MAINTAIN is operable on the IBM 360/370 computers. Two tapes or other devices, a punch and a printer are required. The clock is sampled by the PUBLISH command.

9. COMPUTER SOFTWARE REQUIREMENTS

Fortran IV and Assembler Language compilers are required. The Assembler Language routines are used by the PUBLISH command only.

10. REFERENCE

D. K. Trubey, "The MAINTAIN Code for Use in Maintaining and Revising Card Image Files on Tape," ORNL-TM-4291 (August 1973).

11. CONTENTS OF CODE PACKAGE

Included are the referenced document and one (1.2MB) DOS diskette which contains the source code and sample problem input, plus library subroutines.

12. DATE OF ABSTRACT

August 1973; revised and updated February 1984.

KEYWORD: DATA PROCESSING, UTILITY