Subject: | |
From: | |
Reply To: | |
Date: | Mon, 31 Mar 2014 20:00:22 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On 3/31/14 7:29 PM, Craig Lalley wrote:
> The HP3000 implementation of Posix needs some serious work.
...which is likely never to happen.
> I need to submit a file to PaymentTech.
>
> It is an 80 byte file.
...
> Now before I submit it to Paymenttech, I need to zip the file.
I would convert it to a bytestream file *before* zipping it:
:tobyte.hpbin.sys "-at /SG2VER/PUB/LCAUTHOT /SOME/NEW/FILE"
Barry
On 3/31/14 7:29 PM, Craig Lalley wrote:
> The HP3000 implementation of Posix needs some serious work.
>
> I need to submit a file to PaymentTech.
>
> It is an 80 byte file.
>
> :listf lcauthot.pub.sg2ver,2
> ACCOUNT= SG2VER GROUP= PUB
>
> FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
> SIZE TYP EOF LIMIT R/B SECTORS #X MX
>
> LCAUTHOT 80B FA 20 150000 3 1472 1 32
>
> Now before I submit it to Paymenttech, I need to zip the file.
>
> Shell/ix> zip lcauthot.zip /SG2VER/PUB/LCAUTHOT
>
> I then sftp the file to PaymentTech.
>
> PaymentTech is not processing the file because it is supposedly 96 bytes long.
>
> If I unzip the file it become a bytestream file.
>
> :listf my@,2
> ACCOUNT= SYS GROUP= PUB
>
> FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
> SIZE TYP EOF LIMIT R/B SECTORS #X MX
>
> MYFILE 1B BA 802 2147483647 1 16 1 *
>
> If I FCOPY FROM=MYFILE;TO=;HEX;CHAR no record exceeds 80 bytes.
>
> Why do they think it is an 96 byte file?
>
> I have thought of converting the LF, to CR/LF with the -l option.
>
> That will be my next attempt.
>
> Thanks,
>
> -Craig
>
> * 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 *
|
|
|