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