COBOL - Summer 1999
- Next quiz: Tuesday, July 20th
Read your COBRA/VIPER/ICEMAN email. There is a blank line at the
end of the trans1coded.txt file. It needs to be removed using the pico
editor. Follow the 4 GREEN steps listed below to solve it:
- Do control-K to Cut or Kill the blank line at the very end of
the file, after the last record.
- Then use the Backspace key to move the
cursor up to the previous line. You are now on the same line as the last
- Exit pico and save the changes. The blank record is removed.
- The SORT will now produce a sorted file of the 200 records, without a
201st record that is blank and is the phantom 1st line of the 201 line
- Hands-on class on Wednesday, July 21st for COBOL. (Probably).
- Read the portions of chapter 15 that deal with Relative File
- Read chapter 13 (Sequential File Processing) and especially focus
on updating a master file from a transaction file. The balance line
algorithm should be carefully studied.
- Quiz schedule:
- The 2nd quiz will be on Thursday, June 17th (instead of
being on Wednesday, June 16th).
- The 3rd quiz will be on Tuesday, June
22nd (instead of being on Friday, June 18th).
- Hands on classes (weekly, at least), cheapest COBOL compiler for PCs
from Thursday evening, June 17th.
- ICEMAN/COBRA/VIPER June 16th note on
and a few related chaos and Unix and COBOL matters.
- COBRA/VIPER/ICEMAN email note
from June 14th.
Good summary of enscript, cobol, runcbl and printers commands for
chaos.cns.uni.edu and 1st COBOL assignment deliverables.
- How to use
COBOL (pico, cobol, runcbl, cat | enscript)
- Tuesday, June 15th cobra email notes:
- ANSI versus terminal format. Chaos compiler tries to GUESS
which you used. Beware of this error or
rather 64 lines of error messages!
This was a Tuesday, June 15th cobra email note about column 1 of
line 1 in .cob
source program (for chaos cobol compiler) files.
- ORGANIZATION IS LINE SEQUENTIAL is
crucial to include on SELECT ASSIGNS for chaos cobol. It is NOT
needed for viper/cobra/iceman cobol.
- How to use
pico editor on chaos.cns.uni.edu.
The pico name stands for pine composer, which
means that pico is the pine email editor or composer for the
sending and replying commands.
that are most commonly used.
For example: cd cobol; cd ..; rm prog1.run; rm *.run;
history; more prog1.lst; rm prog3.lst; enscript; cat; etc.