Subject: | |
From: | |
Reply To: | |
Date: | Wed, 1 Apr 1998 08:03:48 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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
|
|
|