Hi *SM-ers! I'm currently using the Q PROC command in my daily maintenance scripts to determine if the previous task has completed or not. I capture the returncode and if it's not equal to 0 then no task are running and thus the next script can be executed. I'm trying to find a way to make this more specific. For instance, I would like to see a returncode not equal to zero if reclamation has finished, I don't care if any other process is still running. I think it should be possible to do this by using a select statement, but I'm not much of an SQL wizard. Could somebody help me out here? Thank you very much in advance! Kindest regards, Eric van Loon KLM Royal Dutch Airlines
********************************************************************** For information, services and offers, please visit our web site: http://www.klm.com. This e-mail and any attachment may contain confidential and privileged material intended for the addressee only. If you are not the addressee, you are notified that no part of the e-mail or any attachment may be disclosed, copied or distributed, and that any other action related to this e-mail or attachment is strictly prohibited, and may be unlawful. If you have received this e-mail by error, please notify the sender immediately by return e-mail, and delete this message. Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for the incorrect or incomplete transmission of this e-mail or any attachments, nor responsible for any delay in receipt. **********************************************************************