Ah, it doesn't need to be converted from binary.   Okay, how do I get
the time as well?

PS Hmmmm....inquiring minds want to know!

Frank M. Ramaekers Jr.
Systems Programmer                   MCP, MCP+I, MCSE & RHCE
American Income Life Insurance Co.   Phone: (254)761-6649
1200 Wooded Acres Dr.                Fax:   (254)741-5777
Waco, Texas  76710
        
-----Original Message-----
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Rob van der Heij
Sent: Monday, August 03, 2009 10:07 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: PIPE SPEC TOD

On Mon, Aug 3, 2009 at 4:10 PM, Frank M.
Ramaekers<framaek...@ailife.com> wrote:

> I'm missing something because the TOD into DATECONVERT doesn't seem to
> be working for me:
>
> pipe literal Hi | spec tod c2x 1 1-* n | dateconv 1.16 todabs fulldate
|
> cons
> 03/29/2009Hi

You're not missing something, you have something too much ;-)

pipe literal | spec tod 1 | dateconvert 1.8 todabs fulldate | cons
08/03/2009

Rob

PS This makes a great trivia question for birthday parties: at what
days is the TOD clock the same as its first 4 byte in hex :-)

_____________________________________________________
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.

Reply via email to