HP3000-L Archives

July 2000, 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:
Andrew Cartledge - Listserve <[log in to unmask]>
Reply To:
Andrew Cartledge - Listserve <[log in to unmask]>
Date:
Wed, 12 Jul 2000 14:28:00 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (74 lines)
Yes. I converted to an 80 byte file and then back via tobyte.

When I did the fcopy again the same problem arose.

It may be that I will have to reformat the 80 byte file through a
program into the 372 bytes required.

Thanks

In message <[log in to unmask]
bill.com>, Carl McNamee <[log in to unmask]> writes
>Have you tried the "frombyte" command in the posix shell?
>
>Carl McNamee
>Systems Administrator
>Billing Concepts
>(210) 949-7282
>
>
>
>-----Original Message-----
>From: Andrew Cartledge [mailto:[log in to unmask]]
>Sent: Wednesday, July 12, 2000 4:39 AM
>To: [log in to unmask]
>Subject: [HP3000-L] Reformat of Bytestream file to Fixed records length
>
>
>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
>
>
>Billing Concepts Corp., a NASDAQ listed Company, Symbol:BILL

Andrew Cartledge

ATOM RSS1 RSS2