Avaya Writing Technician Interface Scripts Manuel d'utilisateur Page 107

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 116
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 106
Sample Scripts
117382-A Rev. A A-35
:FI_ENBLI:
if $# != 3 then ; goto :FI_HELP_ENBL:
# Sanity check <slot.connector> parameter...
if “$ver” < “x7.80” then; goto :SKIP_STRPBRK1:
setenv teststr “ABCDEFGHIJKLMNOPQRSTUVWXYZ”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIEN_MSG1_HELP:
setenv teststr “abcdefghijklmnopqrstuvwxyz”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIEN_MSG1_HELP:
setenv teststr “!@#%^&*()_-=+\|`~[{]}';:/?,<>”
let invalch = strpbrk(“$3”, “$teststr”)
if $invalch != 0 then ; goto :FIEN_MSG1_HELP:
:SKIP_STRPBRK1:
let firstdot = strindex(“$3”, “.”)
if $firstdot = 0 then ; goto :FIEN_MSG2_HELP:
let lastdot = strrindex(“$3”, “.”)
if $firstdot != $lastdot then ; goto :FIEN_MSG3_HELP:
if $?(wfFddiEntry.wfFDDIEnable.$3) = 0 then ; goto :FI_ENBLIE:
set wfFddiEntry.wfFDDIEnable.$3 1
echo “FDDI connector $3 enabled.”
commit
goto :FI_END:
:FI_ENBLIE:
echo “FDDI connector $3 not found.”
goto :FI_END:
:FIEN_MSG1_HELP:
gosub :ERR_MSG1:
goto :FI_HELP_ENBL:
:FIEN_MSG2_HELP:
gosub :ERR_MSG2:
goto :FI_HELP_ENBL:
:FIEN_MSG3_HELP:
gosub :ERR_MSG3:
goto :FI_HELP_ENBL:
Vue de la page 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 115 116

Commentaires sur ces manuels

Pas de commentaire