From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,eb805ea7d23c9af2,start X-Google-Attributes: gidfee84,public From: Harco_den_Bremer@GTech.com (Harco) Subject: Creating IBM 3480 compatible tapes Date: 1995/04/11 Message-ID: #1/1 X-Deja-AN: 100181215 organization: GTech newsgroups: comp.unix.osf.osf1 We are working on a DEC OSF (3.0) environment and we need to create IBM 3480 cartridges, to be processed by the bank, on an IBM environment. Data needs to be converted to EBCDIC and a ISO R 1001-1969 label is to be used as well. Record length equals 50 bytes. We bought a TKZ60 tape drive which is to support this type of cartridges. By using the Unix ltf (labeled tape facility) and the dd commands we tried to solve this problem. Following item is still open: - if we first convert data to ebcdic and use a ltf afterwards we get a mix of ebcdic (data) and ascii (headers): this is not going to work ## tape1.tmp ## ========= #!/bin/csh dd if=eft1519950328.fil ibs=500 cbs=50 conv=ebcdic of=CLIEOP02 ltf -caOfB /dev/nrmt0h 500 CLIEOP02 - if we first use ltf and convert everything to ebcdic afterwards ltf doesn�t seem to work fine??? ## tape2.tmp ## ========= #!/bin/csh ltf -caOfB CLIEOP02 500 eft1519950328.fil dd if=CLIEOP02 ibs=500 cbs=50 conv=ibm of=/dev/nrmt0h The dd command allows to convert to ibm or to ebcdic. Can someone tell us what�s the difference? harco@xs4all.nl harco_den_bremer@gtech.com wim_van_den_brande@gtech.com