HP3000-L Archives

January 1998, 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:
"Leonard S. Berkowitz" <[log in to unmask]>
Reply To:
Date:
Wed, 7 Jan 1998 14:49:23 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (46 lines)
SETVAR ABC FINFO ("*IFDS01.DB","FULLFNAME")
SHOWVAR ABC

This will tell where the file equation is currently pointing.

====================
Leonard S. Berkowitz
(work) [log in to unmask]
(home) [log in to unmask]

______________________________ Reply Separator _________________________________
Subject: Location of a File-Equated File
Author:  [log in to unmask] at INTERNET
Date:    1/7/98 1:37 PM


---------------------- Information from the mail header
----------------------- Sender:       HP-3000 Systems Discussion
<[log in to unmask]> Poster:       Mark Wilkinson
<[log in to unmask]> Subject:      Location of a File-Equated File
------------------------------------------------------------------------------
-

Anybody got any ideas on how to find the "real" group & account of a file
that has been file equated?

For example. all our programs refer to the filename IFDS01.DB which is file
equated to whichever database we need at any point in time. We also need to
get at another file which sits in the same group and account, so we need to
find out the group and account IFDS01.DB has been equated to. This would be
easy if IFDS01.DB was not a database, you could just HPFOPEN the file and
do FINFO on it... but unfortunately IFDS01.DB is a database and therefore a
PRIV file!

Any suggestions?

Mark Wilkinson
Sony Pictures Europe.

PS. We already have a sort of solution but it involves doing LISTEQs to
temporary files and then resolving the filenames etc manually by parsing
the file equation. I'm just sure that someone out there has a cleaner
solution <g>

PPS. No Priviledged Mode <g>

ATOM RSS1 RSS2