atoenne@laura.UUCP (Andreas Toenne) (09/27/87)
I'm looking for a program to read (standard) IBM tapes. Any c programs or references are welcome. Andreas Toenne University of Dortmund, W-Germany Department of Computer Science uunet!unido!atoenne atoenne@unido.uucp atoenne@unido.bitnet D
ji@garfield.columbia.edu (John Ioannidis) (09/28/87)
I assume you want to run in under Unix. The man page for dd(1) tells you how to do it: dd if=/dev/rmt0 of=x ibs=800 cbs=80 conv=ascii,lcase This assumes that you have only one file on your tape. If you have more, use mt(1) to move forward to the file you want to read, then use the dd command. Needless to say, you'll have to use the no-rewind name for your tape (e.g., /dev/rmt4) If you are really desperate, I have a COBOL (yeeech) program that reads IBM format tapes on an ascii machine (it was written for a Sperry-Univac (now Unisys) 1100/60). Please, no flames, I didn't actually write the program, I had someone do it for me :-) /ji #include <appropriate_disclaimers> VOICE: +1 212 280 5510 INET: ji@garfield.columbia.EDU USnail: John Ioannidis 450 Computer Science USENET: columbia!ji Columbia University, New York, NY 10027 ... It's all Greek to me!