× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




According to the RPG manual:
Remember the following rules when using the user date:

 o UDATE, when specified in positions 30 through 43 of the output
   specifications, prints a 6-character numeric date field. *DATE, when
   similarly specified, prints an 8-character (4-digit year portion)
numeric
   date field. These special words can be used in three different date
   formats:
</snip>
 o For an interactive job or batch program, the user date special words are
   set to the value of the job date when the program starts running in the
   system. The value of the user date special words are not updated during
   program processing, even if the program runs past midnight or if the job
   date is changed. Use the TIME operation code to obtain the time and
   date while the program is running.

Regards
Stefan
+>----------------------------------------------------------------------<+
  Phone:      +46 40 693 3500
  Fax:            +46 40 693 3600
  Mobile:      +46 708 51 3543
  e-mail:        stefan.tageson@notes.sema.se
+>---------------------------------------------------------------------<+



>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
+---



+---
| 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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.