Submissions from NAPLUG. [.KYLE] There are two programs in this directory. SCANP - Scans the system for processes matching a user specified process name. SCANU - Scans the system for processes matching a user specified username. [.YOUNG] Read me first file for login.com stuff.... At our shop we wanted to have each user's process name be their 'real' name so when we are trying to provide support, we can see something other than cryptic usernames like SYS003, ISB032, etc. Unfortunately VMS doesn't provide us with an easy way of doing this (or at least as far as I could tell). So I wrote a short FORTRAN program to extract the needed information. When it is run, it gets the owner name and creates two DCL symbols: LOGIN$PROCNAME = The process name (owner truncated to 15 chars) LOGIN$A1NAME = Called this because we use All-In-1; this is the complete name (32 characters long) There are three files included in this save set (besides this one). They are the following: SAMPLE_LOGIN.COM This is a sample LOGIN command procedure that calls SAMPLE_USER to get the owner of the account. SAMPLE_USER.FOR This FORTRAN program uses the SYS$GETUAI system service to haul out the 'owner' of the current account. This is useful for setting process names and things like that... WRITE_SYMBOL.FOR This subroutine is called to write a value to a symbol. Pretty simple, actually. COMPILING INSTRUCTIONS: ======================= FORTRAN/LIST SAMPLE_USER, WRITE_SYMBOL LINK SAMPLE_USER, WRITE_SYMBOL Any comments/suggestions can be forwarded to: Grant Totten New Brunswick Department of Transportation Information Systems Branch P.O. Box 6000, Suite 630, King's Place Fredericton, N.B. E3B 1H5 (506) 453-2990