On CERNVM type the following:
CMS FTP workstation ftp> BIN F 4096 ! block size in bytes ftp> PUT file.hbook
$ ftp remote ftp> bin ftp> get remote.hbook ftp> quit $ resize -s 4096 remote.hbook;1
The resize
command does not copy the file.
It simply changes the header information, from 512 byte records to 4096 bytes.
In case the block size of the HBOOK file is not 1024 words (LREC
parameter of routine HROPEN), i.e. 4096 bytes, specify the corresponding
value as parameter to the resize
command.
The resize
tool is available on request from the CERN Program Library.