× 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: CL Time Aritmetic Code
  • From: Joel Fritz <JFritz@xxxxxxxxxxxxxxxx>
  • Date: Wed, 1 Dec 1999 09:01:30 -0800

If it were up to me, I'd write an RPGIV program to do the time arithmetic
and call it from the CL.  ADDDUR will do it transparently.  Most of the code
in the program (under 20 lines even with serious error checking) would be
converting numeric time variables to time variables and vice versa.   
-----Original Message-----
From: Robert E. Burger [mailto:rburger@home.net]
Sent: Wednesday, December 01, 1999 6:14 AM
To: MIDRANGE-L@midrange.com
Subject: CL Time Aritmetic Code


Does anyone have any CL time arithmetic code they'd be willing to share.  On
they way into applications, I look at a specific data area to see if a
backup of that application is in progress -- if it is, I display a screen
telling the user that app is not available.  Ideally, I want to be able to
store the "current" backup start time and the "last" backup duration and use
time arithmetic to display an estimate of when the "current" backup will be
complete.

Thanks in advance,

Robert E. Burger
Information Systems Coordinator
Tarrant County CSCD
Fort Worth, Texas, USA
=============================
AS/400 9406-620 running OS/400 V4R2
AS/400 9406-170 running OS/400 V4R4
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-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.