HP3000-L Archives

September 1998, Week 5

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:
Wed, 30 Sep 1998 16:18:01 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
Pat,

If you mean that you've opened the file N, you could call FGETINFO and
it will return the real file name. If that's not what you mean and
you're talking about finding file equations for N then you'll have to do
a LISTEQ to a file, read and parse the file for the equation that you're
looking for.

Hope this helps
John Zoltak
North American Mfg Co

> -----Original Message-----
> From: Pat Sarkar [SMTP:[log in to unmask]]
> Sent: Wednesday, September 30, 1998 4:14 PM
> To:   [log in to unmask]
> Subject:      [HP3000-L] Indirect File Reference via File Equation
>
> We want to find out the actual filename.group.acct of a file that's
> refernecd through a file equation such as:
>
> :FILE N=file1.group1.acct1
>
> from within a Cobol program. The Cobol progarm knows only about a file
> called N.
>
> In this example, the file N can also be a TurboImage root file.
>
> TIA.
>
> Pat Sarkar

ATOM RSS1 RSS2