ARG! Marty Z found my bug: Replace the "6" with "hh" in the MM calc...
It is a simple matter of hacking the code to do the brute force conversion. Here is something that may work - probably not the best, but it works: In place of time=time('n', thensecs, 's') use: hh = Right(thensecs%3600,2,0) mm = Right((thensecs-(3600*hh))%60,2,0) ss = Right(thensecs//60,2,0) time = hh':'mm':'ss _______________________________________ James Vincent Systems Engineering Consultant Nationwide Services Co., Technology Infrastructure Engineering Mainframe, z/VM and z/Linux Support One Nationwide Plaza 3-25-02 Columbus OH 43215-2220 U.S.A Voice: (614) 249-5547 Fax: (614) 677-7681 mailto:[EMAIL PROTECTED] The IBM z/VM Operating System <IBMVM@LISTSERV.UARK.EDU> wrote on 04/28/2006 07:52:25 AM: > IBMVM@LISTSERV.UARK.EDU > > Whoops, you're right. But that still doesn't explain how you make > time=time('n', thensecs, 's') work, at least with the REXX > distributed with z/VM. I'm not really losing a lot of sleep over > it, but I'm still curious. > Jim > > At 04:18 AM 4/28/2006, you wrote: > On Thu, 27 Apr 2006 13:18:02 -0400, Jim Bohnsack <[EMAIL PROTECTED]> > wrote: > > >Apparently I don't have the "'modern' date() and time() functions" or > at > >least not the time() function that Mike specified. Is there still an > extra > >library such as the one that Princeton (I think) used to supply? I'm > on > >z/VM 4.4. > >Jim > > > To which Alan replied "Not that I've heard of. ". > > I have a feeling you might be thinking of the Pipelines Runtime > Distribution. See: http://vm.marist.edu/~pipeline/ > > Shimon > Jim Bohnsack > Cornell Univ. > (607) 255-1760 >