• Subject: Re: RTVCFGSTS and lines in use
  • From: Chuck Lewis <CLEWIS@xxxxxxxxxx>
  • Date: Thu, 01 Oct 1998 13:40:38 -0400

Loyd,

Somone might know of an API or something to do this, but if not, do the
following:

In a CL you can do a WRKCFGSTS *LIN "line name" (pass the line name in a as
variable or whatever) to a print file and then have the CL do a CPYSPLF to a 
data
base file. Then do a WRKACTJOB to a spool file and again do a CPYSPLF to a
database file. From the previous step you will have the Job Name, User and 
Number
and you can "search the WRKACTJOB file for this job and check the Status
(i.e.DEQW, MSGW, EVTW, ICFW, PCRW, CMNW, RUN, etc...)

If you need any help with something this, I could write it and get it to you !

Chuck


Goodbar, Loyd (AFS-Water Valley) wrote:

> We have a line that is shared by multiple line descriptions. I'd like to
> make some program decisions when one of the lines needs to be used. I
> know I can use RTVCFGSTS to retrieve the state of the line.
>
> If it is active (return code = 60), how do I determine what it is doing
> (program being run, etc.) and determine if it is running, has a message
> waiting, etc.
>
> Thanks,
> Loyd Goodbar
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.