× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Object lock
  • From: Ravi <ravi@xxxxxxxxxxxxx>
  • Date: Tue, 14 Jul 1998 15:23:21 -0500

You can use 

WRKJOB job(jobname) output(*print) option(*opnf)

This would print all the files opened by the job. There is no option
to dump the information into an outfile. So, you would have to copy the
spool file into a PF and process it in subsequent steps.


Ravi
Systems Group, Inc.


Denis Robitaille wrote:
> 
> I am trying to write a utility program that would make it easier to find wich 
>job is blocking another. It would work like this:
> 1- we enter the comand giving it a job name as a parameter
> 2- it retreive all the files used by this jobs
> 3- for each file, it check if the job as a lock on the file/record or if it 
>is waiting
> 4- for each file that the job is waiting for, it retreive all the jobs having 
>a lock on that file
> 5- display the jobs found in step 4 so we can take action (call the user ...)
> 
> Currently, i have a problem with step 2. I did not find any command or API 
>that can retreive the list of files used by a job. Any idea?
> 
> Denis Robitaille
> Cascades inc.
> Tel: 819-363-5187
> DRobitaille@cascades.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
> +---
+---
| 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.