Job 5:
1. (1)
.
1. (2)
2.
Job 6:
1. (1)
2. (2)
2. (1)
2. (2)
3.
Open the card file;
Read cards;
a:=0;
Deal with the former part of ITER until appeared K1 card;
Handling non-K1 card seq
A:=a+1
Read cards;
Processing non-K1 card end;
Handle the predecessor part end;
Print the starter card;
b:=0; c:=0;d:=0;
Read cards;
Processing batch part of ITER until appeared K2 card;
Processing Batch seq
Number of total batches of statistics; {b:=b+1}
Processing Batch class Select is K1 card
Processing K1 batch of iter while appearing K1 card;
Handling K1 card seq
c:=c+1;
Read cards;
Processing K1 card end;
Processing K1 batch end;
Processing Batch class or is a K3 card
Processing K3 batch seq;
d:=d+1;
Processing the batch of iter while appearing K3 card;
Read cards;
Processing the batch end;
Processing K3 batch end;
Processing Batch class end;
Processing batch end;
Processing batch part end;
print termination card;
Print a,b,c,d;
Close the card file;
Card analysis Program;
Jobs 5, 6