HP3000-L Archives

April 1998, Week 1

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:
Ron Horner <[log in to unmask]>
Reply To:
Ron Horner <[log in to unmask]>
Date:
Wed, 1 Apr 1998 08:03:48 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
You may need to convert your use of time, into military time.  This way the
comparisons are true.

Later.




[log in to unmask] on 03/31/98 08:29:25 AM

To:   [log in to unmask]
cc:    (bcc: Ron Horner/MIS/CorpCtrl/STO)
Subject:  Problem with HPTIMEF variable




In our nightly job streams, we use the following statements to check what
time it is,
and then wait or proceed with processing.  We recently made a change in the
timing, and now have a problem.
I realize that "12" is greater than "1", but I also think that
"12:56 AM" is less than " 2:05 AM".  It appears that the CI doesn't agree
with me, as evidenced by the extract from last nights job (see following
example)

END OF PROGRAM
:SHOWTIME
TUE, MAR 31, 1998, 12:56 AM
:SHOWVAR HPTIMEF
HPTIMEF = 12:56 AM
:WHILE HPTIMEF < "  2:05 AM"
*** EXPRESSION FALSE: COMMANDS IGNORED UNTIL MATCHING ENDWHILE
:  PAUSE 60
:ENDWHILE
*** RESUME EXECUTION OF COMMANDS
:COMMENT   :STREAM BACKUP.JOB.FMDEECO
:RUN MAIN.PUB.VESOFT,STREAMX;PARM=5;INFO='!?'

anyone have an explaination of what is happening here, other than
"hey dummy, 12 is greater than 2"?
Terry Simpkins

ATOM RSS1 RSS2