HP3000-L Archives

April 2014, Week 1

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:
Tony Summers <[log in to unmask]>
Reply To:
Tony Summers <[log in to unmask]>
Date:
Tue, 1 Apr 2014 08:56:55 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (113 lines)
Excellent article here.

http://www.robelle.com/tips/mpeforunix.html#files

I agree with the previous posts - you first need to convert your file to bytestream before you can use it in posix. 

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of Craig Lalley
Sent: 01 April 2014 04:17
To: [log in to unmask]
Subject: Re: [HP3000-L] posix issues with paymenttech

tobyte is plan b.   Thanks,

-Craig




________________________________
 From: Barry Lake <[log in to unmask]>
To: Craig Lalley <[log in to unmask]> 
Cc: [log in to unmask] 
Sent: Monday, March 31, 2014 8:00 PM
Subject: Re: posix issues with paymenttech
 


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 *

The contents of this email are confidential to the intended recipient and may not be disclosed. Although it is believed that this email and any attachments are virus free, it is the responsibility of the recipient to confirm this.

Details of Smith & Williamson group companies and Nexia Smith & Williamson Audit Limited and their regulators (where applicable), can be found at this URL

http://www.smith.williamson.co.uk/disclosure

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

ATOM RSS1 RSS2