In a message dated 97-03-05 09:33:47 EST, Steve J Fatula wrote:
> Is there a way to capture the device class of a file from a Cobol
> program?
>
> Example:
> FILE X;DEV=LPMINE
> After opening file X from the Cobol program, how can I find out that the
> calss is LPMINE?
> --
> Steve J Fatula
> [log in to unmask]
Depending on what you really mean by "Cobol program" it may be
possible to use HPFOPEN to open the file instead of a regular Cobol
open and use item 42. I haven't tried it. Other items indicate that they
are only allowed when creating a file, that one doesn't.
Chuck Duncan
[log in to unmask]