× 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.


  • Subject: RE: Retrieve system time
  • From: "Coleman, Katherine" <KColeman@xxxxxxxxx>
  • Date: Wed, 24 May 2000 08:49:18 -0400

Look at the RPG calc op code TIME.  It will move the system time to a user
defined field.

-----Original Message-----
From: paula Pickle [mailto:paula500@yahoo.com]
Sent: Wednesday, May 24, 2000 7:45 AM
To: RPG400-L@midrange.com
Subject: Retrieve system time


Hi Folks

Im new to RPG and after attending a course a week ago
Im now writing my first program - wish me luck :)

I am trying to update a file and one field requires
the current system time.  Im sure this is easy to
obtain when you know how.  Ive used *TIME keyword in
the DDS and this displays the time on the screen OK,
but RPG doesnt like it.  So is there a keyword to get
the time or do I need to do something else to get it
into the RPG.

Im using RPG400 BTW.
Look forward to your replies.
Thanks
Paula


 

=====
Join AllAdvantage.com and get paid to surf the Web! Please use my ID
(ibo595) when asked if someone referred you. Thanks!
http://www.alladvantage.com/go.asp?refid=ibo595

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.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
+---
+---
| 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.