HP3000-L Archives

March 1997, 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:
"Chuck Duncan." <[log in to unmask]>
Reply To:
Date:
Wed, 5 Mar 1997 15:04:06 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
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]

ATOM RSS1 RSS2