HP3000-L Archives

October 1999, 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:
Reply To:
Date:
Tue, 5 Oct 1999 19:09:33 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
And if you do not have 6.0 Express 1, you can use

ECHO > YYYYMMDD
SETVAR  HPYYYYMMDD "![FINFO('YYYYMMDD','INTACCESSED')]"

Regards,

Tad.


From:     [log in to unmask] on 05/10/99 16:49 GMT


...
> Example:       !HPMONTH!HPDATE!HPYEAR  used on 01/01/99 returns 1199.
> When I used this format with a system date of 01/01/00 and
> 01/01/01 the variables returned 110 and 111 respectively.

On 6.0 Express 1 you can use the new HPYYYYMMDD string variable.
On the above date you would get:
    :showvar HPYYYYMMDD
    HPYYYYMMDD = 20000101

An advantage of using this new variable versus concatenating the full
date from HPYYYY + HPMONTH + HPDAY, is that you do not need to be
concerned if your job is running at a day, month or year boundary.
The concatenation approach results in the wrong final date if
the day rolls to the next month in the middle of the equation.

regards,
Jeff Vance, CSY





-----------------------------------------------------------------------------
This message is confidential; its contents do not constitute a
commitment by Paribas except where provided for in a written agreement
between you and Paribas. Any unauthorised disclosure, use or
dissemination, either whole or partial, is prohibited. If you are not
the intended recipient of the message, please notify the sender
immediately.

Ce message est confidentiel ; son contenu ne représente en aucun cas un
engagement de la part de Paribas sous réserve de tout accord conclu par
écrit entre vous et Paribas. Toute publication, utilisation ou
diffusion, même partielle, doit être autorisée préalablement. Si vous
n'êtes pas destinataire de ce message, merci d'en avertir immédiatement
l'expéditeur.

ATOM RSS1 RSS2