What Ive done in my login para for our rf users (and others) is this. Each user logs in and gets a menu such as;
IF @LOGNAME = 'anthony' THEN ANTHONY.MENU However for rf users I do; IF @LOGNAME = 'rfuser1' THEN GO RF.MAIN . . . RF:MAIN: SET.TERM.TYPE VT100CK ETC..... GO EXIT: You might consider doing something like this. Anthony -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Sohn Sent: Tuesday, June 20, 2006 5:01 PM To: u2-users@listserver.u2ug.org Subject: [U2] Login Paragraphs I'm trying to set the TIMEOUT value for a user in the LOGIN paragraph based on the first few characters of the user ID but I don't know how to check for partial matches. I'm doing: PA TIMEOUT 600 IF @LOGNAME = "jsmith" THEN TIMEOUT 1200 IF @LOGNAME = "psohn" THEN TIMEOUT 3600 I would like to add something like the below but I'm not sure of the syntax: IF @LOGNAME[1,2] = "rf" THEN TIMEOUT 2400 Paul ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.0/368 - Release Date: 6/16/2006 ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/