If you have some UDCs, Command Files, or Job Streams that you'd like to contribute; if you've updated and enhanced any of the ones here; or if you have a web page with UDCs, Command Files, or Job Streams and would like a link included here, please contact me! (see below)
Follow these links for the free samples:
Job/Session XEQs
Disc File XEQs
Spoolfile XEQs
Account & User XEQs
Date XEQs
Miscellaneous XEQs
PowerHouse XEQs
MPEX XEQs
New additions are listed here, as well as in the links above, where they have red bullets ( ).
Be sure to check out this site's main page, too! -> HP3000 UDCs and Command Files
A really cool new addition by John Krussel from Nordstrom implements System-wide variables! See svardoc.txt for documentation and installation instructions; then see each of these command files: setsvar.xeq, getsvar.xeq, delsvar.xeq, and showsvar.xeq.
Another nifty addition is by Donna Garverick from Longs. She enhanced my "push" script, adding help and error checking - pushsp.xeq.
I snitched a neat date routine from the HP3000-L e-mail list. Dt.xeq is by Clive Pottinger and returns tons of information about any given date.
Tired of waiting for FTP to send a file for you? Mark Wilkinson from Sony Pictures Entertainment has written a script that will create and run a job to FTP that file for you: doftp.xeq!
Two more date routines from HP3000-L by Larry Simonsen of FlowServ Corporation - fmtjd.xeq and mpejd.xeq - return the julian date from today's date, and an mm/dd/yyyy formatted date from a julian date (note: mpejd requires the julian.xeq script).
A very simple, yet elegant script by Paul H. Christidis (also from HP3000-L), prevents more than one logon for any user/account combination. See onelogon.xeq.
Jeff Vance of HP submitted prevMD.xeq to HP3000-L, which returns yesterday's date in an MMMDD format.
If you need to do some system monitoring, you might try discstat.xeq by Steve Barrett. This command file and its companion job, jdiscst.job give a pretty good representation of disc space overhead during the course of the business day.
Here are two command files that display a message if today is the last day of the month (I have no idea where they came from - If it's you, let me know!). --> lastday1.xeq & lastday2.xeq <-- These could be easily modified to set a variable instead of displaying a message, then used from within another command file.
PLEASE NOTE! The authors of the samples below have donated them for the good of the HP3000 community. They have no liability regarding their work, in any manner, and have no further responsibility to continually upgrade their work. You may copy and use any of these samples, but do so at your own risk!