AS/400 RPGLE system date

90 pts.
Tags:
AS/400
RPGLE
How do I retrieve the system date in RPGLE? And is coding needed for me?

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • CharlieBrowne
    Use %TimeStamp
    41,380 pointsBadges:
    report
  • Splat
    Where do you want to retrieve it? In an RPG program? In a CL program?
    7,395 pointsBadges:
    report
  • ToddN2000
    Do you just want date or date and time? What format do you want the date YY/MM/DD, YYYY/MM/DD, DD/MM/YY... Provide some more details and where in your code you are having an issue.
    12,745 pointsBadges:
    report
  • Splat
    Sorry about the previous comment - I didn't read the initial question closely. UDATE, *DATE, UMONTH, *MONTH, UDAY, *DAY, UYEAR, *YEAR are available in RPGLE (they provide the run time date which may or may not be congruent with your requirements), as are the %DATE and %TIMESTAMP functions. The DATE keyword in display and printer files is also capable of supplying the system date.
    7,395 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following