Trailing-Edge
-
PDP-10 Archives
-
tops20-v7-ft-dist2-clock
-
7-documentation/idxini.cbl
There are 22 other files named idxini.cbl in the archive. Click here to see a list.
IDENTIFICATION DIVISION.
PROGRAM-ID.
IDXINI.
AUTHOR.
DIGITAL EQUIPMENT CORPORATION.
COPYRIGHT (C) DIGITAL EQUIPMENT CORPORATION 1983, 1986.
ALL RIGHTS RESERVED.
THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND
COPIED ONLY IN ACCORDANCE WITH THE TERMS OF SUCH LICENSE AND WITH
THE INCLUSION OF THE ABOVE COPYRIGHT NOTICE. THIS SOFTWARE OR
ANY OTHER COPIES THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE
AVAILABLE TO ANY OTHER PERSON. NO TITLE TO AND OWNERSHIP OF THE
SOFTWARE IS HEREBY TRANSFERRED.
THE INFORMATION IN THIS SOFTWARE IS SUBJECT TO CHANGE WITHOUT
NOTICE AND SHOULD NOT BE CONSTRUED AS A COMMITMENT BY DIGITAL
EQUIPMENT CORPORATION.
DIGITAL ASSUMES NO RESPONSIBILITY FOR THE USE OR RELIABILITY OF
ITS SOFTWARE ON EQUIPMENT THAT IS NOT SUPPLIED BY DIGITAL.
This program is a portion of the DIL Load Test sample
application. It is used to initialize the RMS indexed file on
the DEC-20.
INSTALLATION.
DEC-MARLBOROUGH.
DATE-WRITTEN.
JUNE 24, 1982.
* Facility: DIL-SAMPLE
*
* Edit History:
*
* new_version (1, 0)
*
* Edit (%O'1', '29-Oct-82', 'Sandy Clemens')
* %( Clean up DIL sample application and place in library.
* Files: JTSERV.CBL (NEW), JTTERM.CBL (NEW), IDXINI.CBL (NEW),
* JTTERM.VAX-COB (NEW), JTVRPT.CBL (NEW), PROCES.MAC (NEW) )%
*
* Edit (%O'6', '20-Jan-83', 'Sandy Clemens')
* %( Add copyright notice for 1983. Files: DSHST.TXT, IDXINI.CBL,
* JTSERV.CBL, JTTERM.CBL, JTTERM.VAX-COB, JTVRPT.CBL, PROCES.MAC )%
*
* Edit (%O'7', '24-Jan-83', 'Sandy Clemens')
* %( Add liability waiver to copyright notice. Files: DSHST.TXT,
* IDXINI.CBL, JTSERV.CBL, JTTERM.CBL, JTTERM.VAX-COB, JTVRPT.CBL,
* PROCES.MAC )%
*
* Edit (%O'10', '25-Jan-83', 'Sandy Clemens')
* %( Standardize "Author" entry. Files: DSHST.TXT, IDXINI.CBL,
* JTSERV.CBL, JTTERM.CBL, JTTERM.VAX-COB, JTVRPT.CBL )%
*
* new_version (2, 0)
*
* Edit (%O'12', '17-Apr-84', 'Sandy Clemens')
* %( Add V2 files to DS2:. )%
*
* new_version (2, 1)
*
* Edit (%O'13', '3-Jul-86', 'Sandy Clemens')
* %( Add V2.1 files to DS21:. )%
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SOURCE-COMPUTER.
DECSYSTEM-20.
OBJECT-COMPUTER.
DECSYSTEM-20.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT JT-FIL ASSIGN TO DSK
ORGANIZATION IS RMS INDEXED
ACCESS MODE IS DYNAMIC
RECORD KEY IS JT-BADGE-NUM.
DATA DIVISION.
FILE SECTION.
FD JT-FIL LABEL RECORDS ARE STANDARD
VALUE OF IDENTIFICATION IS "JOBTICRMS".
01 JT-REC.
05 JT-NAME PIC X(30).
05 JT-BADGE-NUM PIC 9(7).
05 JT-COST-CENTER PIC X(4).
05 JT-WK-END-DATE PIC 9(6).
05 JT-TOTAL-HRS COMP-1.
05 JT-DETAIL-LINES OCCURS 10.
10 JT-ACTIV-CD PIC X(4).
10 JT-PL-NUM PIC X(4).
10 JT-DIS-NUM PIC 9(5) COMP.
10 JT-MFG-NUM PIC 9(5) COMP.
10 JT-HOURS COMP-1.
10 JT-OP-CD PIC X(4).
WORKING-STORAGE SECTION.
PROCEDURE DIVISION.
INITIALIZE-FILE.
OPEN OUTPUT JT-FIL.
CLOSE JT-FIL.
STOP RUN.