HP3000-L Archives

February 2007, 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:
"Dave Powell, MMfab" <[log in to unmask]>
Reply To:
Dave Powell, MMfab
Date:
Fri, 23 Feb 2007 11:51:52 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (90 lines)
If I understand correctly, the basic building block you need is command-files
to go back and forth between any yyyymmdd date and an integer number of days
since some base date -- pretty much like the cobol functions integer-of-date
and date-of-integer.  Also, HP has date intrinsics with with at least as much
capability (see chapter 9 of your MPE/ix 6.0 communicator).

If nobody feels like writing all the leap-year math in MPE, it might be easier
to write a program that would do a getvar and a putvar, and call cobol
functions or intrinsics in between.

I wouldn't mind having such a tool, but I don't have time to write one now.

----- Original Message ----- 
From: "Ray Shahan" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, February 23, 2007 09:18
Subject: [HP3000-L] Does anyone already have this CMD file?


Hi all,



            I checked on JAZZ, but didn't see this CMD file.  I want to
see if anyone has this file (or something close) that they'd like to
share before I set out to write it on my own.



            I need a CMD file that can take the current var, hpyyyymmdd,
on every Monday, to determine the hpyyyymmdd values for the previous
Friday through Sunday.  The trick is jumping back to a previous month
and/or year.    It'd be great if we had a converter that could convert
hpyyyymmdd to hpdoy and back - then we could do this really easily (umm,
that was a hint for Mr. Jeff Vance ;-).  Heck, while I'm dreaming, an hp
var that had the Julian date since 1500 AD would be really juicy, too.





            TIA for any/all help, and have a great weekend!







  <http://www.republictitle.com/>

Raymond Shahan

Computer Programmer
 REPUBLIC TITLE OF TEXAS, INC. <http://www.republictitle.com/>
  2701 W Plano Parkway
<http://maps.yahoo.com/maps_result?addr=2701+w+plano+parkway&csz=75075&c
ountry=us&new=1&name=&qty=>
Plano, TX 75075




direct 214.556.0202
main 972.578.8611
fax 972.424.5621

 www.republictitle.com <http://www.republictitle.com/>

[log in to unmask]



Life is not a journey to the grave with the
intention of arriving safely in a pretty and
well preserved body, but rather to skid in
broadside, thoroughly used up, totally worn out,
and loudly proclaiming:

-- WOW!!! What a Ride




* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2