HP3000-L Archives

September 2004, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Walter Murray <[log in to unmask]>
Reply To:
Walter Murray <[log in to unmask]>
Date:
Fri, 24 Sep 2004 00:47:47 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (21 lines)
 "Mike Hornsby" <[log in to unmask]> wrote:

> >   Does there is some function in the cobol which can be used to
increment
> > the date one by one.
>
> In MPE/iX version 6.0 HP added the HPDATEOFFSET, as well as some other
very
> useful
> date related intrinsics:

If you are using HP COBOL, I strongly encourage you to use the standard
COBOL functions DATE-OF-INTEGER and INTEGER-OF-DATE.

They are portable, and they are bug-free.

Walter

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2