Date: Mon, 14 Jun 1999 16:44:05 -0500 (CDT) From: MARK JACOBSON Subject: c034.html web page... To: 810-034-01@uni.edu Hi COBOL students, Quite a bit of material has been added to the web page. See the URL http://www.cns.uni.edu/~jacobson and follow the summer 1999 classes ----------- hypertext link to get to the COBOL homepage. I will explain the Unix command for getting a nice printout of your program results on Tuesday in class. The command is: cat prog01.lst prog01.rpt | enscript 2r d lj3sib The above command assumes you compiled a file prog01.cob, using cobol prog01.cob <--- creating prog01.lst and then ran prog01.run and prog01.run using runcbl prog01.run <--- creating prog01.rpt SELECT REPORT-FILE ASSIGN TO "prog01.rpt" The .lst file (compiler listing) and the .rpt file (report file) are then printed by using the cat and the enscript commands. cat is short for concatenate and concatenates the two files together into one file or file stream. The | symbol is a pipe so that the output of the cat command can be piped to the enscript command (instead of going to the screen). The enscript command accepts the cat output and sends its output to the Wright Hall chaos printer, lj3sib. To see what printers are available at Wright, type printers at the chaos prompt. Mark