GE DATANET-30 Programming Reference Manual page 167

Hide thumbs Also See for DATANET-30:
Table of Contents

Advertisement

There are two types of DEL control cards:
1.
Range delete
Columns 8 - 10
DEL
Columns
12
~
16
( TO)
Columns 76 - 80
(FROM)
Records on the old master starting with sequence number (FROM) to record starting
with sequence number (
TO )
are deleted.
2.
Single delete
Columns 8 - 10
DEL
Columns
76 - 80
(THIS)
Record on old master with sequence number (THIS) is deleted.
Action on Detecting Control Cards
The action below takes place upon detection of control cards:
1.
NEW - The remaining cards in the card reader are written on tape 3 (new master)
until a FIN card is detected.
2.
FIN
- Signifies to assembly program 4 that there are no more cards to read.
If
any records exist on the old master they are copied to the new master with
new sequenced numbers inserted. Old master and new master tapes are closed
and rewound (new master with
end-of~file
record).
Program is terminated.
3.
DEL - Range - Old master is copied to new master with new sequence numbers
until columns 76 - 80 of DEL card are equal to columns 76 - 80 of old master.
Old master is then searched until columns 76 - 80 of old master are greater
than columns 12 - 16 of DEL cards.
Another card is read in and processing
continues.
DEL - Single - Old master is copies to new master with new sequence numbers until
columns 76 - 80 of DEL card are equal to columns 76 - 80 of old master. Another
card is read in and the old master is advanced to the next record. Processing
continues.
4.
All other cards are assumed to be updating cards. They are inserted according to
their sequence number.
If
the sequence number of an input card is equal to the sequence
number of a record on the old master, the input card will replace the old master record.
NOTE: All input cards including control cards must be in sequence columns 76 - 80. Any card
out of sequence will be ignored and error flagged. All input decks must end with a FIN card
(no sequence number needed) and two blanks.
A-16

Advertisement

Table of Contents
loading

Table of Contents