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:
"Paul H. Christidis" <[log in to unmask]>
Reply To:
Date:
Tue, 5 Oct 1999 10:14:00 -0700
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (34 lines)
Scott,

You'll have to use something like:

setvar filename "X" + LFT("0!hpmonth",2) + LFT("0!hpdate",2) + LFT("0!hpyear",2)

Paul

____________________Reply Separator____________________
Subject:    !HPYEAR
Author: [log in to unmask]
Date:       10/5/99 6:53 AM

To the people of the list,

Okay, so I was doing a final bit of Y2K testing last week and had the !HPYEAR
   variable in a jobstream that renames some files. I realize that HPDATE
   variables drop any leading zeros but did not expect this for the year.
Poor assumption on my part.
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. Somewhat confusing at first
   glance.

Anyone have any thoughts or comments.
Should I have any concerns?

Were running iX ver 60
TIA for the input.

Scott Root
Prescom Industries Inc.
703-905-4551

ATOM RSS1 RSS2