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

  1. * This is a sample host information file for the IBM Information Network.
  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 (e.g. V2=iin)
  5. *   V3=the account name, plus a tab if less than 8 characters (e.g. V3=AUSD@T)
  6. *   V4=first character of PW if extended PW reqd (e.g. V4="" or V4=".")
  7. *   V5=password field length: 7 if using extended PWs, 8 otherwise (e.g. V5=7)
  8.  
  9. CONFIGURATION           * Section for configuration options
  10.   SESSION     @V1                       * Host session id from HIF Variable V1
  11.   HOSTWAIT    5                         * Wait for Host up to 5 seconds
  12.   SESSIONWAIT 60                        * Wait for Session up to 60 seconds
  13.   UFIELD      7                         * UserID entry field length
  14.   PFIELD      @V5                       * Password entry field length
  15.  
  16. GLOBAL                  * Section for global screen definitions
  17.   * The following definitions are for when the screen needs to be cleared
  18.   * The following definitions are for exiting intermediate functions
  19.  
  20. LOGON                   * Section for logon screen definitions
  21.   START  "MSG10",                "@V2@E"      * Start screen
  22.                                               * if found, send V2,Enter
  23.    NEXT  "SVM0201P",             "@V3@U@V4@p@E"  * Required next screen
  24.                                               * if found,
  25.                                               * send V3,UID,V4,PW,Enter
  26.    STOP? "SVM0401P"                           * Conditional stop screen
  27.    UINV  "account and userid",   "@T@T@Tlogoff@E"  * UserID Invalid error screen
  28.                                               * if found,
  29.                                               * send Tab,Tab,Tab,"logoff",Enter
  30.    PINV  "an extended password", "@Tlogoff@E" * Password invalid error
  31.                                               * if found,
  32.                                               * send Tab,Tab,Tab,"logoff",Enter
  33.    PINV  "a valid password",     "@Tlogoff@E" * Password invalid error
  34.                                               * if found,
  35.                                               * send Tab,Tab,Tab,"logoff",Enter
  36.    PEXP  "SVM3201P",             "@3@T@T@Tlogoff@E" * Password expired error
  37.                                               * if found, send PF3,
  38.                                               *      Tab,Tab,Tab,"logoff",Enter
  39.   STOP   "SVM0401P"                           * Required stop screen
  40.  
  41. PASSWORD                * Section for password change screen definitions
  42.   * Password change screen definitions if logged off
  43.   START  "MSG10",                "iin@E"      * Start screen
  44.                                               * if found, send "iin",Enter
  45.    NEXT  "SVM0201P",             "@V3@U@V4@p@E"  * Required next screen
  46.                                               * if found,
  47.                                               * send V3,UID,V4,PW,Enter
  48.    UINV  "account and userid",   "@T@T@Tlogoff@E"  * UserID Invalid error screen
  49.                                               * if found,
  50.                                               * send Tab,Tab,Tab,"logoff",Enter
  51.    PINV  "an extended password", "@T@T@Tlogoff@E"  * Password invalid error
  52.                                               * if found,
  53.                                               * send Tab,Tab,Tab,"logoff",Enter
  54.    PINV  "a valid password",     "@T@T@Tlogoff@E"  * Password invalid error
  55.                                               * if found,
  56.                                               * send Tab,Tab,Tab,"logoff",Enter
  57.    * Password change screen definitions if password has not expired
  58.    * If password has expired, system goes directly to the Required next screen
  59.    NEXT? "SVM0401P",             "@5"         * Conditional next screen
  60.                                               * if found, send PF5
  61.    NEXT? "SVM1501P",             "PAS@E"      * Conditional next screen
  62.                                               * if found, send "PAS",Enter
  63.    NEXT  "SVM3201P",             "@V4@P@V4@N@V4@N@E"    * Required next screen
  64.                                               * if found,
  65.                                               * send V4,PW,V4,NPW,V4,NPW,Enter
  66.    PNINV "an extended password", "@3@3@3@T@T@Tlogoff@E"
  67.                                               * PW or NewPW invalid error screen
  68.                                               * if found, send PF3,PF3,PF3
  69.                                               *      Tab,Tab,Tab,"logoff",Enter
  70.    PNINV "a valid password",     "@3@3@3@T@T@Tlogoff@E"
  71.                                               * PW or NewPW invalid error screen
  72.                                               * if found, send PF3,PF3,PF3
  73.                                               *      Tab,Tab,Tab,"logoff",Enter
  74.    NINV  "new password was inv", "@3@3@3@T@T@Tlogoff@E"
  75.                                               * NewPW invalid error screen
  76.                                               * if found, send PF3,PF3,PF3
  77.                                               *      Tab,Tab,Tab,"logoff",Enter
  78.    NEXT  "successfully changed", "@3","@3@3@3@T@T@Tlogoff@E"
  79.                                               * Required next screen
  80.                                               * if found send PF3, else PF3,PF3
  81.                                               * PF3,Tab,Tab,Tab,"logoff",Enter
  82.    NEXT? "SVM1501P",             "@3"         * Conditional next screen
  83.                                               * if found, send PF3
  84.    NEXT  "SVM0401P",             "@3@T@T@Tlogoff@E"     * Required next screen
  85.                                               * if found, send PF3,
  86.                                               *      Tab,Tab,Tab,"logoff",Enter
  87.   STOP   "MSG10"                              * Required stop screen
  88.  
  89.   * Password change screen definitions if logged on at the main menu
  90.   START  "SVM0401P",             "@5"         * Start screen
  91.                                               * if found, PF5
  92.    NEXT  "SVM1501P",             "PAS@E"      * Required next screen
  93.                                               * if found, "PAS",Enter
  94.    NEXT  "SVM3201P",             "@V4@P@V4@N@V4@N@E"    * Required next screen
  95.                                               * if found,
  96.                                               * send V4,PW,V4,NPW,V4,NPW,Enter
  97.    PNINV "an extended password", "@3@3"       * PW or NewPW invalid error screen
  98.                                               * if found, send PF3,PF3
  99.    PNINV "a valid password",     "@3@3"       * PW or NewPW invalid error
  100.                                               * if found, send PF3,PF3
  101.    NINV  "new password was inv", "@3@3"       * NewPW invalid error screen
  102.                                               * if found, send PF3,PF3
  103.    NEXT  "successfully changed", "@3@3","@3@3"* Required next screen
  104.                                               * send PF3,PF3
  105.   STOP   "SVM0401P"                           * Required stop screen
  106.  
  107. LOGOFF                  * Section for logoff screen definitions
  108.   START  "SVM0401P",             "@3@T@T@Tlogoff@E"     * Start screen
  109.                                               * if found, send PF3,
  110.                                               *      Tab,Tab,Tab,"logoff",Enter
  111.   STOP   "MSG10"                              * Required stop screen
  112.