I have a file (built by another application) which I copy to the HP via FTP
in bytstream format.
This gives an EOF figure of 11471.
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
INETORDS 1B BA 11471 16384000 1 48 1 32
I then thought I would use FCOPY with the DEBLOCK option to change it to a
fixed format. Yet when running FCOPY it reports a rec size of 8192 and
copies only part of the file.
fcopy from=inetords.inet;to=ordloadf.inet;deblock=-372
HP31900A.05.02 FILE COPIER (C) HEWLETT-PACKARD CO. 1990
*200*WARNING: FROMFILE RECSIZE IS 8192 BYTES, TOFILE RECSIZE IS 372 BYTES.
CONTINUE OPERATION (Y OR N) ?y
EOF FOUND IN FROMFILE AFTER RECORD 21
22 RECORDS PROCESSED *** 0 ERRORS
END OF SUBSYSTEM
giving
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
ORDLOADF 372B FA 22 10000 1 464 1 32
I have looked at the file on the PC and it looks ok. The 8192th character
is part of a data string. (I do not appear to have any special tools on the
PC to look at hidden characters)
Ignoring the fact 372 does not divide precisely into the total does anyone
have any clues/suggestions.
TIA