|
-- The object lock is a great solution, even though the name ISJOBRUNNING doesn't work out. Instead... Assuming you are trying to monitor a batch job, DCL a variable or use system supplied SDS in RPG and retrieve the job name. It definitely will fit and be valid as the jobname property is 'short' enough. Creating a library named something like RUNNINGJOB works to contain the objects. In a CL only solution. the hard coded library name isn't too difficult and the library list issues aren't a problem. The next decision to make is the attributes of the object. In this case a data area. Setting the size to contain additional information can be useful too. Like storing the job/user/number/date/time of a running job as it loads. (Embedded image moved to file: pic03900.pcx) "Bob Crothers" <bob2@CStoneIndy.co To: <midrange-l@midrange.com> m> cc: Sent by: Subject: RE: Making sure a job is running midrange-l-admin@mi drange.com 10/25/2002 08:03 PM Please respond to midrange-l Like I said, there might by syntax errors! <g> Guess I've been spending to much time on the pc side lately. Bob -----Original Message----- From: midrange-l-admin@midrange.com [mailto:midrange-l-admin@midrange.com]On Behalf Of Al Barsa Sent: Friday, October 25, 2002 7:03 PM To: midrange-l@midrange.com Subject: RE: Making sure a job is running The name of this *DTAARA is a tad long... Al Al Barsa, Jr. Barsa Consulting Group, LLC _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. -- [ pic03900.pcx of type application/octet-stream deleted ] --
As an Amazon Associate we earn from qualifying purchases.
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.