|
Is it a bug? NO. Pretend that you had a batch job running. It receives a message from a message queue. In that message text is a program name to be called. The batch job calls the program name from the message. That called program does a UDATE. What date do you think it would have? The date the "JOB" was started. ie the Batch job ! CGI is like that. Soooooo Use the TIME operation to a timestamp much better anyway John Carr ------------------------------ When RPG CGI is called to run by HTTP server, UDATE does not return the system date. Instead, it returns a value representing the date when the HTTP server instance was started. This happens in both V4R3 and V4R4. Is this a bug? TIA. Bruce +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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.