HP3000-L Archives

February 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gilles Schipper <[log in to unmask]>
Reply To:
Gilles Schipper <[log in to unmask]>
Date:
Wed, 12 Feb 1997 18:31:44 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
You need to use the "deblock" option, eg:

:FILE INPUT;DEV=DISC;REC=-1230,1,U,ASCII (assume 123 bytes per record, 10
records per block)
:FILE OUTPUT;DEV=TAPE;REC=-123,60,F,ASCII
:FCOPY FROM=*INPUT;TO=*OUTPUT;DEBLOCK=-123

Whenever copying files with odd-byte record lengths, you need to use the
"deblock" option of fcopy, otherwise the output file will offshift by 1
character in every subseqent record.


At 04:43 PM 97/02/12 -0600, you wrote:
>It seems when I fcopy a file to tape that has an odd record width it
>seems to want to make it even.  I have a client that has to have the
>file in this width and I am having trouble - any suggestions?
>
>
---------------------------------------------------------------------------
   Gilles Schipper                      Voice:     905/889-3000
   GSA Inc.                             Fax:        905/889-3001
   300 John Street, Box 87651           Internet:  [log in to unmask]
   Thornhill, ON  Canada  L3T 7R4       Compuserve: 71203,474
---------------------------------------------------------------------------

ATOM RSS1 RSS2