HP3000-L Archives

June 1995, Week 4

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:
Reply To:
Date:
Sat, 24 Jun 1995 07:18:41 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
On Fri, 23 Jun 1995, Don Smy wrote:
 
> I'm trying to write some C code that will transfer MPE and POSIX
> files from and to a hp3000. The remote machine is a hp9000 running HP-UX.
>
> My problem is with MPE or POSIX binaries. I need a way of converting these
> binaries to bytestream and back to fixed record length MPE/POSIX
> executables.
 
  Hmm... I've never written a downloader/uploader, however, if you're
able to get the stuff as it's coming in, and you want to throw it into a
fixed record file, try this:
 
  FILE INCOMING;DEV=DISC
  BUILD INCOMING;REC=-80,,f,binary
 
  And route your incoming binary to INCOMING, and MPE will store it into
the file INCOMING, with all your parms.  If you decide to go variable or
undefined record length, just change the 'f' to 'v' or 'u'.  I've used
this method to transfer binaries back and forth between my PC and the HP,
and it seems to work quite well, of course, it's been a while... :)
 
>
> Any Solutions welcome.
>
 
Daniel Kosack

ATOM RSS1 RSS2