HP3000-L Archives

February 1999, 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:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Mon, 22 Feb 1999 10:40:29 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
Jeff mentioned an atomic(ity) trapdoor in...

>> SETVAR DATE,"!HPMONTH/!HPDATE/!HPYEAR"

and suggested an upcoming solution for 6.0 users...

>Or, in 6.0 Express 1, you will be able to reference the new HPYYYYMMDD
>variable and be guaranteed the all parts of the year-month-date are
>consistent.

For the short term you might also pick up a small utility that
returns YYYYMMDDHHMMSS to a CI var, so you can easily substring
whatever portion you need (watch out to have your TZ setting ok,
as it uses COBOL's $CONTROL POST85 FUNCTION CURRENT-DATE). Find
it on Jazz where Glenn Koster's MYSECOND contribution lives.

:) Lars

ATOM RSS1 RSS2