HP3000-L Archives

August 1999, Week 2

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:
John Zoltak <[log in to unmask]>
Reply To:
John Zoltak <[log in to unmask]>
Date:
Fri, 13 Aug 1999 11:15:58 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (64 lines)
Jim,

I've looked for something like this before also. But, say you have an
LDEV with two device classes on it. Which one should it return? Ok, the
one from the file equation. But at the time the file is already open and
the file equation has no connection to the file at this point.

So where does that leave you. You could use AIFSYSWIDEGET and supply an
LDEV number and return a list of device class entries. Pick randomly or
the first.

Or, just do the obvious and parse the listing from the LISTEQ.

Hope this helps,
John (HP3000 days are numbered) Zoltak
North American Mfg Co
Cleveland Ohio

> -----Original Message-----
> From: Jim Phillips [mailto:[log in to unmask]]
> Sent: Friday, August 13, 1999 10:56 AM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] FFILEINFO and Device Number
>
>
> Rich Trapp wrote:
>
> >  If you can modify the program actually setting the file
> equation, you
> could
> >also have it do a SETVAR actualdev "xxxx" and query this
> variable in the
> other
> >program.
>
> followed quickly by Tracy Pierce:
>
> >You could have your pgm do a LISTEQ to disk and examine
> that, but easier
> >(I think) would be to have your subpgram (mine's called PRSET) keep
> >user-selected settings in Environment Variables, making them easily
> >available to your other programs as well (use GETVAR).  We
> let the user
>
> proving that great minds think alike.
>
> This would work, but now I have to modify two programs, and I
> was hoping
> to modify only the program that does the printing.  Not
> really a problem,
> but I don't fixing things if they aren't broke.
>
> So, I am assuming that MPE doesn't have any way of retrieving
> the DEV=
> clause of the file equation directly (like through
> FFILEINFO), correct?
>
>
> Jim Phillips                            Manager of Information Systems
> Voice: (330) 527-2124                   Therm-O-Link, Inc.
>   Fax: (330) 527-2123                   PO Box 285; 10513 Freedom St.
> Email: [log in to unmask]       Garrettsville, Ohio  44231
>

ATOM RSS1 RSS2