+ Reply to Thread
Results 1 to 4 of 4

Thread: Question about date and time in a CL program that spans two days.

  1. #1
    Guest.Visitor Guest

    Default Question about date and time in a CL program that spans two days.

    Maybe DCL &DATE *CHAR 6 RTVSYSVAL QDATE RTNVAR(&DATE) CHGJOB DATE(&DATE)

  2. #2
    Guest.Visitor Guest

    Default Question about date and time in a CL program that spans two days.

    Thank you! I think this is exactly what I want. I won't know till tomorrow if it works the way I hope it will, but I'll let you know.

  3. #3
    Guest.Visitor Guest

    Default Question about date and time in a CL program that spans two days.

    Hi, I hope there is an easy solution to this. We launch a program that starts around 9:30 pm every week night. It stays active til 6:30 the next morning. Every other hour it calls another program copies inbound EDI data (if any) to our work files. Each time the program is called, a report is produced showing the activity that occurred. It's sort of like a job log. The problem is that the date on the report shows the date that the intial CL was launched, not the true system date. This program is part of a third party software package and we don't have the source code. The CL that calls this program hourly is homegrown, however. Can one of you guru's out there tell me if there is a way to refresh the date, so that the current date will appear on the report? We would like to start running this program 24/7. Thanks

  4. #4
    Guest.Visitor Guest

    Default Question about date and time in a CL program that spans two days.

    It worked! Thanks also for your very fast reply to my question!

+ Reply to Thread

Similar Threads

  1. Date Time Stamp when saving to IFS
    By Guest.Visitor in forum General
    Replies: 4
    Last Post: 07-29-2004, 04:45 PM
  2. How to get Date/Time Sent for Messages in MSGQ
    By Guest.Visitor in forum CL
    Replies: 1
    Last Post: 06-29-2004, 10:58 AM
  3. Previous days Date in Query
    By Guest.Visitor in forum IBM i (OS/400, i5/OS)
    Replies: 2
    Last Post: 04-02-2003, 06:04 AM
  4. RPGLE and date/time stamp
    By Guest.Visitor in forum Programming
    Replies: 7
    Last Post: 10-31-2002, 06:30 PM
  5. How to Store all Time,date & timestamp in GMT
    By Guest.Visitor in forum Programming
    Replies: 1
    Last Post: 11-15-1999, 02:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts