System Maintenance Tricks

From VaxHaven
Jump to navigation Jump to search

Change Default DCL Prompt

$ SET PROMPT="''F$GETSYI("NODENAME")' $ "

Put this in SYS$MANAGER:LOGIN.COM to have it executed on every login.

Disable Password Expiration

$ SET DEFAULT SYS$SYSTEM
$ RUN AUTHORIZE
UAF> MODIFY username /PWDLIFETIME=NONE
UAF> MODIFY username /PASSWORD=newpassword
UAF> EXIT
$

Initialize Drive

$ INITIALIZE DKA500: SCRATCH /STRUCTURE=5

Mount Drive on Startup

Add to the end of SYS$MANAGER:SYSTARTUP_VMS.COM

$ MOUNT/SYSTEM DKA500: SCRATCH

ODS-5 Extended File Name Handling

In order to allow DCL the ability to manipulate ODS-5 extended file names, you need to enter:

$ SET PROCESS /PARSE_STYLE=EXTENDED

Update HECnet node list

$ @1.13::FIX.COM