home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / nsc12.zip / nscmvs.hif < prev    next >
Text File  |  1996-07-17  |  5KB  |  79 lines

  1. * This is a sample host information file for an MVS host system
  2. * It requires the following HIF Variables in the NSC configuration file:
  3. *   V1=host session id  (e.g. V1=A or V1=A-E)
  4. *   V2=the first command sent for a signon with the userid (e.g. V2=TSO1)
  5.  
  6. CONFIGURATION                 * Section for configuration options
  7.   SESSION     @V1                       * Host session id from HIF Variable V1
  8.   HOSTWAIT    5                         * Wait for Host up to 5 seconds
  9.   SESSIONWAIT 60                        * Wait for Session up to 60 seconds
  10.   UFIELD      8                         * UserID entry field length
  11.   PFIELD      8                         * Password entry field length
  12.  
  13. GLOBAL                        * Section for global screen definitions
  14.   * The following definitions are for when the screen needs to be cleared
  15.   CLEAR   " *** ",               "@C@E"       * if " *** ", send Clear,Enter
  16.  
  17. LOGON                         * Section for logon screen definitions
  18.   START  "Enter access code:",   "@V2 @u@E"   * Start screen
  19.                                               * if found, send V2," ",UID,Enter
  20.    UINV  "not authorized to",    "@3"         * UserID Invalid error screen
  21.                                               * if found, send PF3
  22.    NEXT  "Password  ===>",       "@P@E",    "@3"       * Required next screen
  23.                                               * if found, send PW,Enter
  24.                                               * if not found, send PF3
  25.    STOP? "READY"                              * Conditional stop screen
  26.    ULOGD "IN USE",               "logoff@E"   * UserID is already logged on
  27.                                               * if found, send "logoff",Enter
  28.    PINV  "PASSWORD NOT AUTH",    "@3"         * Password invalid error screen
  29.                                               * if found, send PF3
  30.    PEXP  "PASSWORD HAS EXPIRED", "@3"         * Password expired error screen
  31.                                               * if found, send PF3
  32.    PWRN  "PASSWORD WILL EXPIRE"               * Password expiring warning screen
  33.   STOP   "READY"                              * Required stop screen
  34.  
  35. PASSWORD                      * Section for password change screen definitions
  36.   * Password change screen definitions if logged off
  37.   START  "Enter access code:",   "@V2 @u@E"   * Start screen
  38.                                               * if found, send V2," ",UID,Enter
  39.    UINV  "not authorized to",    "@3"         * UserID Invalid error screen
  40.                                               * if found, send PF3
  41.    NEXT  "Password  ===>",       "@P@N@E",  "@3"       * Required next screen
  42.                                               * if found, send PW,NPW,Enter
  43.                                               * if not found, send PF3
  44.    ULOGD "IN USE",               "logoff@E"   * UserID is already logged on
  45.                                               * if found, send "logoff",Enter
  46.    NEXT  "Reenter the new",      "@N@E",    "@3"       * Required next screen
  47.                                               * if found, send NPW,Enter
  48.                                               * if not found, send PF3
  49.    PINV  "PASSWORD NOT AUTH",    "@3"         * Password invalid error screen
  50.                                               * if found, send PF3
  51.    NINV  "NEW-PASSWORD IS INVAL","@3"         * NewPassword invalid error screen
  52.                                               * if found, send PF3
  53.    NEXT  "READY",                "logoff@E","logoff@E" * Required next screen
  54.                                               * if found, send "logoff",Enter
  55.                                               * if not found, send "logoff",Ent
  56.   STOP   "Enter access code:"                 * Required stop screen
  57.  
  58.   * Password change screen definitions if logged on
  59.   START  "READY",                "password password(@p @n)@E"   * Start screen
  60.                                               * if found, send
  61.                                               * "password password(",PW," ",
  62.                                               *  NPW,")",Enter
  63.    PINV  "NOT CURRENT PASSWORD", "@C@E"       * Password invalid error screen
  64.                                               * if found, send Clear,Enter
  65.    NINV  "MATCHES A PREVIOUS",   "@C@E"       * NewPassword invalid error screen
  66.                                               * if found, send Clear,Enter
  67.    NINV  "CANNOT EQUAL CURRENT", "@C@E"       * NewPassword invalid error screen
  68.                                               * if found, send Clear,Enter
  69.    NINV  "CHANGE REJECTED",      "@C@E"       * NewPassword invalid error screen
  70.                                               * if found, send Clear,Enter
  71.    NINV  "INVALID NEW PASSWORD", "@A@C@E"     * NewPassword invalid error screen
  72.                                               * if found, send Attn,Clear,Enter
  73.   STOP   "READY"                              * Required stop screen
  74.  
  75. LOGOFF                        * Section for logoff screen definitions
  76.   START  "READY",                "logoff@E"   * Start screen
  77.                                               * if found, send "logoff",Enter
  78.   STOP   "Enter access code:"                 * Required stop screen
  79.