To check if a user is valid: parse value diagrc(8,'LINK' userid) with rc . /* Do not code a minidisk address */ ValidUser=(rc=22) Parse value diagrc(8,'Q USER' userid) with rc . LoggedOn=(rc=0)
2010/3/15 Frank M. Ramaekers <framaek...@ailife.com> > What’s the best way to check: > > > > 1) UserID is valid (a user on this system) > > 2) UserID is logged on (or not) > > > > Frank M. Ramaekers Jr. > > > > Systems Programmer > > MCP, MCP+I, MCSE & RHCE > > American Income Life Insurance Co. > > Phone: (254)761-6649 > > 1200 Wooded Acres Dr. > > Fax: (254)741-5777 > > Waco, Texas 76701 > > > > > _____________________________________________________ This message > contains information which is privileged and confidential and is solely for > the use of the intended recipient. If you are not the intended recipient, be > aware that any review, disclosure, copying, distribution, or use of the > contents of this message is strictly prohibited. If you have received this > in error, please destroy it immediately and notify us at > privacy...@ailife.com. > -- Kris Buelens, IBM Belgium, VM customer support