I usually set up a record that is 10 times the odd record in length and put
10 records into it.
Then on the receiving side I break the file back down by dividing the big
record into 10 little ones.
Charles C Cookston
Web Navigation LLC
[log in to unmask]
(317) 259-1426
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf
Of John MacLerran
Sent: Monday, February 09, 2009 2:41 PM
To: [log in to unmask]
Subject: [HP3000-L] Mpe: How to Transfer odd-byte files
Dear HP3000-L
I'm trying to figure out how to send odd-byte files from MPE to unix.
We're implementing a new ERP system, and one of the data import file
descriptions indicates that the file must be fixed-length ASCII, with each
record being 149 bytes.
No matter what I do on MPE, the file still winds up as 150 bytes.
The file is created in PowerHouse QTP, and I've been able to create the file
with the necessary fields in the necessary locations, and when I do a
listf,2 on
the file, it shows 149 bytes:
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
FUPLOAD8 149B FA 831 831 1 496 2 *
But, when I transfer it, it comes out the other side as 150 bytes.
Here's what I've tried:
1. Reflection transfer, specifying to keep trailing blanks, with host record
size
of 149 bytes.
2. FTP to an hp-ux server.
3. Posix shell: cat the file | cut -b1-149 > newfile and then reflection
transfer / ftp newfile
Is there anything else I can try?
Thanks!
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.233 / Virus Database: 270.10.19/1939 - Release Date: 02/07/09
13:39:00
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|