|
>We have a nightly procedure that is started about 11:30pm. In it, there is a call to >another procedure. This second procedure is usually called before mid-night. We will >be adding some more file saves it could run after mid-night. >If it is called after mid-night, which date will the second CL have, the date from >the first CL or when the second CL is called? > >DCL VAR(&DATE) TYPE(*CHAR) LEN(6) >RTVSYSVAL SYSVAL(QDATE) RTNVAR(&DATE) Willie If u r using RTVSYSVAL QDATE, then you will always get The date that that line is executed. If u use RTVJOBA DATE(&DATE) then u will get the date the job Started in the subsystem (ie the before midnight date). Your choice ! HTH Mike ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ ********************************************************************** This communication and the information it contains: - (a) Is intended for the person(s) or organisation(s) named above and for no other person(s) or organisation(s). Access to this mail by anyone else is unauthorised. (b) Is confidential, and may be legally privileged or otherwise protected in law. Unauthorised use, circulation, copying or disclosure of any part of this communication may be unlawful. (c) May be susceptible to interference, and should not be assumed that it has come in its original form and/or from the stated sender or PinkRoccade UK accepts no responsibility for information, errors or omissions in this e-mail or use or misuse thereof or any act done or omitted to be done in connection with this communication. If you are not the intended recipient, please inform postmaster@xxxxxxxxxxxxxxxxx immediately and delete it and all copies from your system. www.pinkroccade.co.uk **********************************************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.