Subject: | |
From: | |
Reply To: | |
Date: | Tue, 15 Jun 1999 15:48:48 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
I could not resist this opportunity to show off my archaic knowledge!
No doubt more elegant solutions will surface later, but this works because
the files are small and ASCII format:
:EDITOR
HP32201A.09.00 EDIT/3000 TUE, JUN 15, 1999, 3:41 PM
(C) HEWLETT-PACKARD CO. 1993
/T DATA10
FILE UNNUMBERED
/L LAST
64 1234567890
/HQ ALL
HOLD FILE LENGTH IS 64 RECORDS
/T DATA25
FILE UNNUMBERED
/L LAST
64 ABCDEFGHIJKLMNOPQRSTUVWXY
/SET LEFT=26
/RQ ALL,HOLDQ,NOW
/SET LEFT=1
/L LAST
64 ABCDEFGHIJKLMNOPQRSTUVWXY1234567890
/K DATA35,UNN
/E
END OF SUBSYSTEM
:
Fred Metcalf
Neil Harvey & Associates
HP 3000 Select Solution Reseller
PO Box 12160, Mill Street, 8010, South Africa
Phone: +27-21-670-9200 Fax: +27-21-670-9300
-----Original Message-----
From: Mark Halstead [mailto:[log in to unmask]]
Sent: 15 June 1999 03:38
To: [log in to unmask]
Subject: File manipulation
Hi All,
I need some help joining two files together. File A is 100 Bytes and 250
records, file B is 25 bytes and 250 records. I need to be able to create a
125 byte, 250 record file from these two files. The files need to be sort of
"joined at the hip". I've tried the Posix Paste command, but it deblanks so
that if the last 10 bytes of file A are blank I end up with data stopping at
240 instead of 250 in my output file. I've been told this is possible using
Suprtool, but I don't want to tell my client they need to buy a piece of
software to do something that *seems* so simple.
My client has the the usual 5.5 FOS/Posix capabilities as well as QUAD and
Editor.
Thanks.
Kind Regards,
Mark
|
|
|