Home | IBM Manuals Direct | iBytes Library | Links | About | Book Store | On-Line Code |
iByte Subject – Process Timer Program The Process Timer program determines the length of time between a start and end time. This may be used for such things as reporting the length of time it takes a process to run. Instructions: This can be called from a CL or RPG program using RTVSYSVAL / QTIME or TIME to retrieve the start and end times when using this program to calculate process times. Call the program with 3 parms. Parm 1 - Start time 6 alpha. Parm 2 - End time 6 alpha. Parm 3 - Blank - 8 alpha. The process timer will return the the length of time in Parm 3. The format will be HH.MM.SS * Note depending on system settings the separator characters may have to be changed in the Process Timer program.
|