|
Probably using job date. FTP session starts before midnight, at midnight job date doesn't change. Job probably ended & restarted in the early hours of the morning for backup - gets new days job date then from system date. ...Neil "Condon, Mike, /m1c" <m1c@ingersoll-imc.com> Sent by: owner-midrange-l@midrange.com 2001/07/19 09:41 Please respond to MIDRANGE-L To: "'MIDRANGE-L@midrange.com'" <MIDRANGE-L@midrange.com> cc: Subject: FW: FTP RCMD Date Weirdness I got this message from a coworker. Any idea why ftp rcmd executed programs would be getting an incorrect date, or if there is any workaround? -----Original Message----- Here's a weird one for you... Mr. Pink has noticed that the picking slip confirm date stored in Gal appears to be a day behind sometimes. I checked out the program (RRU12) that stores the date in CS from the manifest upload and it is just moving *DATE into STCNF. This program is run every half hour and is run from an FTP session using RCMD. Mr. Black and I also had noticed this in something else when he was here. It appears that sometimes yesterday's date is returned for *DATE when run from an FTP RCMD. To test this, I wrote a program JKJ/QSRC.TCPDATE to output the date from *DATE. Last night I ran it via FTP RCMD and it reported the correct date and time. However, this morning when I ran it via FTP RCMD it still reported yesterday's date. The results of this are in my spool files. +--- | 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 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.