|
If the program uses a display file you can check for the display file being locked to determine if the program is running. This seems to be a CL program so it might not have a display file. If it does then allocate it's associated display file instead. Paul -- Paul Morgan Senior Programmer Analyst - Retail J. Jill Group 100 Birch Pond Drive, PO Box 2009 Tilton, NH 03276-2009 Phone: (603) 266-2117 Fax: (603) 266-2333 "Tim Kredlo" wrote > Help !! > > I am unable to see what I am doing wrong here. > (probably missing something simple) > > The following CL displays "&Active = N" even when the program 'SORENTCL' is > running. > > I far as I can tell, the 'MONMSG' is not "firing", but I don't know why. > > If I copy the "AlcObj" line to the clipboard, paste it to a command line, > and "Enter", > I get "Cannot allocate object SORENTCL.", which is what I am expecting.
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.