[Info-vax] HELP! Need to create script (or program) to capture OPCOM requests
pcoviello at gmail.com
pcoviello at gmail.com
Tue Mar 5 14:42:53 EST 2019
On Thursday, February 28, 2019 at 3:51:56 AM UTC-5, George Cornelius wrote:
> Stephen Hoffman <seaohveh at hoffmanlabs.invalid> wrote:
> > On 2019-02-21 17:57:01 +0000, aarthur2 at gmail.com said:
> >
> >> Need to capture OPCOM requests to be processed in a batch job.
> >> TAPESYS issues a request to mount a tape and I need to capture the
> >> request number and text. I was hoping to write a dcl script that checks
> >> for new requests and responds accordingly.
>
> I believe TAPESYS actually has a way to monitor OPCOM, and maybe you
> could use a DCL script to tie into that. I know: using TAPESYS
> to monitor TAPESYS, but if it works, why not?
>
> Could be wrong - maybe it's DCSC, the cartridge loader support for
> STK tape silos/libraries, that has it.
>
> >>
> >> There must be a way...
> >> Needs to work on VMS V5.5.2 to VMS 7.3
> >
> > There's no API for this, but there's a way to use the broadcast mailbox
> > of a device that's enabled as an operator.
>
> I suppose that's the most direct way to get it going. If you have done
> QIO level I/O's to terminals you'll likely be able to understand
> broadcast mailboxes enough to write the code for this.
>
> > Using a pseudo-terminal here is common, and there's a supported PTD
> > interface for pseudo-terminals now.
>
the section below, I went looking on the Freeware distribution with no luck,
would you happen to know a name? or have the com procedure you might have?
thanks Paul
>> I have a fairly basic OPCOM logger laying around somewhere that
>> could be used for this. I suppose there are one or two of them
>> in the VMS Freeware distribution as well.
>
> George
More information about the Info-vax
mailing list