EndTime
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
When do you pick up the job's exit status? Straight after DSWaitForJob? Grab the system time then.
Code: Select all
FinishTimeStamp = Oconv(Date(),"D-YMD[4,2,2]") : " " : Oconv(Time(),"MTS:")
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Get the timestamp of the most recent event in the job log file.
Code: Select all
Event = DSGetNewestLogId(hJob, DSJ.LOGANY)
Entry = DSGetLogEntry(hJob, Event)
TimeStamp = Field(Entry, "\", 1, 1)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.