HP3000-L Archives

July 2009, Week 5

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:
Gary Robillard <[log in to unmask]>
Reply To:
Gary Robillard <[log in to unmask]>
Date:
Thu, 30 Jul 2009 15:58:44 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (63 lines)
Hi Brian,

What does an 'ls -l' of STOP.DATA show?

If I do a 'touch STOP.DATA from within the shell, then echo ABCD >>
STOP.DATA, I see 5 bytes...
Wouldn't the last byte be the end of line character(/n)?

Thanks,

Gary

Gary Robillard



-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf
Of Brian Donaldson
Sent: Thursday, July 30, 2009 3:50 PM
To: [log in to unmask]
Subject: [HP3000-L] Bytestream File Question

STOP.DATA has one 4 byte record in it.
SENTMSG4 is a 1 byte bytestream file.

FCOPY FROM=STOP.DATA;TO=SENTMSG4
HP31900A.05.04 FILE COPIER (C) HEWLETT-PACKARD CO. 1999

LOCKWORD: SENTMSG4.PUB.DEV? 

*200*WARNING: FROMFILE RECSIZE IS 4 BYTES, TOFILE RECSIZE IS 8192 BYTES.
CONTINUE OPERATION (Y OR N) ?Y
EOF FOUND IN FROMFILE AFTER RECORD 0

1 RECORD PROCESSED *** 0 ERRORS


END OF SUBSYSTEM

:LISTF SE@,2
ACCOUNT=  DEV         GROUP=  PUB     

FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX

SENTMSG           128W  VBM          8     100008   1      512  2  *
SENTMSG2          346B  VAM          8       1145   1      464  2  *
SENTMSG3            1B  BA       49158      50000   1      416  2  *
SENTMSG4            1B  BA           5      50000   1      416  2  *


Why is the listf showing an eof = 5 when fcopy only fcopy'd ONE record?

TIA,
Brian Donaldson.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2