HP3000-L Archives

July 1999, Week 3

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:
Per Ostberg <[log in to unmask]>
Reply To:
Date:
Wed, 21 Jul 1999 21:17:54 +0200
Content-Type:
text/plain
Parts/Attachments:
Meddelandetext (74 lines)
ken wrote:
......
>         BEDROCK:(ZXKENB):LISTF @;temp
>         BEDROCK:(ZXKENB):
>         BEDROCK:(ZXKENB):LISTF @;temp
>         DUPLICATE TEMPORARY FILE NAME  (FSERR 101)
>                                  ^
>         File system error 101 encountered on list file. (CIERR 425)

I like to think of temp-files as no different than perm (except that
they disapear when logging off, and of course implicates some set of
rules for which domain is searched first), and I think MPE is doing a
good job in making it look like that. In this case it means that the
reason you can't reuse it is not because it's a temp-file, it's because
the way to reuse a file as an output-file for :LISTF is to use a
file-equation (don't ask me why.., I guess it's just the way :LISTF
works, and it might be argued that it means less risk of losing data).
In your example
      BEDROCK:(ZXKENB):LISTF @;temp
      BEDROCK:(ZXKENB):file temp,oldtemp
      BEDROCK:(ZXKENB):LISTF @;*temp
                               ^^
would work (note the '*' for dereferencing the file-equation).

I'm no expert on MPE file domains (and I have never touched PH or Quiz),
but the way I interpret your example is:

> : file mysub = mysub;temp

here you're not telling MPE that you have a temp-file, but rather that
when this file is closed, it should be *closed* as a temp-file

>
>     : quiz
>      access myfile
>      report summary mydata
>      set subfile mysub
>      go
>      exit
>    :
>    : reset mysub
>    : file mysub = mysub;temp

the same here, a wild guess could be that Quiz opens the file (in the
following) as a new or a perm file, and it's only while closing it that
MPE gets a chance to see it already exists a temp-file with the same
name. What you might want to try here (still in guess-mode) is something
like:
     : file mysub = mysub,oldtemp
as this specifies that the file is an existing temp-file. I don't think
you need to specify ';temp' as files like this usually are closed the
same way they're opened.

>    :
>    :quiz
>     access myfile
>     report summary mydata
>     set subfile mysub
>     go

you should note though, that programs are free to open files the way
they want to (well, at least try to) so Quiz might have it's own idea on
how to use the file described.

hth (and that it didn't add to any confusion)

/per (I think temp-files are great!)
--------------------------------------------
Per Ostberg  / [log in to unmask]
phone +46-8-58581213 / fax +46-8-58587710
Huddinge University Hospital
KemLab / C1 74 / S-141 86  HUDDINGE / SWEDEN
--------------------------------------------

ATOM RSS1 RSS2