HP3000-L Archives

January 1997, Week 5

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:
Michael Berkowitz <[log in to unmask]>
Reply To:
Michael Berkowitz <[log in to unmask]>
Date:
Thu, 30 Jan 1997 09:33:22 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
Stephen Johnson wrote:

>>> Johnson Stephen <[log in to unmask]>
>01/29/97 09:30am >>>
>Can someone tell me what I am doing wrong ???

>01 wint.
>   05 date-today pic 9(8) value 0
>   05 int-date     pic 9(7) value 0

>move 19960501 to date-today.

>compute int-date = function integer-of-day (date-today)

>ERROR:
>Bad parameter to INTEGER-OF-DATE/DAY, error 11 (coberr 745)
>Input parameter is: 19960501

-----------------------------------------------------------------------------------
You used the wrong function.  You want to use the integer-of-date
function, not the integer-of-day function.  The former is for dates in
YYYYMMDD format, while the latter is for Julian format dates in
YYYYDDD format.

ATOM RSS1 RSS2