HP3000-L Archives

July 2004, 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:
Paul Christidis <[log in to unmask]>
Reply To:
Date:
Thu, 22 Jul 2004 12:24:24 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (84 lines)
John,

I also thought that the 'file code' being 'dropped' was the problem.  In
fact I wrote a reply very similar to yours.  At the last moment I decided
to test it out (used MPEX and altered the file code of an existing 'store'
disc file) and concluded otherwise.  I think the problem is that FTP, by
default, creates a variable record file for binary transfers.  That is what
the 'restore' command is complaining about, NOT the file code.

I'd suggest that the correct attributes be used on the FTP get command (get
... ...;rec=128,,f,binary;...)

Regards
Paul Christidis

HP-3000 Systems Discussion <[log in to unmask]> wrote on 07/22/2004
11:59:22 AM:

> The file has to be built with a file code of 2501.  If you FTP
> directly from one MPE machine to another, the file code and other
> file attributes will be preserved.  With using a non-MPE machine as
> an intermediary, you lose that info.  If you have MPEX on the
> receiving machine, you can alter the file code of the file:
>  ALTFILE MYSTORE;CODE=2501
>
> If you don't have mpex, try this:
>  FILE MYSTOR2;CODE=2501
>  FCOPY FROM=MYSTORE;TO=*MYSTOR2;NEW
>
> This will copy the store file into a new file that has the correct
> file code. Another method is to initiate the second FTP transfer
> from the MPE machine, since MPE's FTP client allows you to specify
> file attributes on the GET command:
>  GET MYSTORE;CODE=2501
>
> This method is also useful if any other file attributes, such as
> record length, are not being accurately duplicated.
>
> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
> Behalf Of Walt Fles
> Sent: July 22, 2004 11:32 AM
> To: [log in to unmask]
> Subject: Re: Question about creating packages in MPE/IX
>
>
> Tom Brandt wrote:
>
> > Walt,
> >
> > To create STORE file on disc (known as a store-to-disc or STD file),
> > you need to execute a file equation to tell STORE that the store file
> > is a disc file, then run STORE. For your particular case, log into
> > FILES.SYS, then execute the following
> >
> > :FILE MYSTORE;DEV=DISC
> > :STORE @.FILES.SYS;*MYSTORE;SHOW
> >
> > Move MYSTORE to your target machine somehow (there are several ways to
> > do this), log into FILES.SYS, execute a file equation on the target
> > machine telling it the store file is a disc file, then run :RESTORE.
> >
> > :FILE MYSTORE;DEV=DISC
> > :RESTORE *MYSTORE;@[log in to unmask]@;SHOW
> >
> >
> Tom.
> If I store this MYSTORE file onto a server via FTP ( after assuring the
> transfer mode is binary ) and then re-download the file via FTP in
> binary mode to my MPE machine, when I do the RESTORE I get this error:
>
> FILE "MYSTORE" DOES NOT APPEAR TO BE A STORE BACKUP (S/R 1306)
>
> any ideas?
>
> * 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 *

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

ATOM RSS1 RSS2