Visara Master Console Center Scripting Guide Manual do Utilizador Página 105

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 262
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 104
Chapter 5 Script Commands
Scripting Guide 105
FEXISTS
Syntax:
FEXISTS( $FileName) ==> %Success
Description:
Determines if a file exists.
Action:
The file is checked to ensure it exists in the current or specified
directory.
Parameters:
$FileName. String expression. The case sensitive name of the file to
verify if it exists. Include any necessary file path.
Returns:
Numeric value, as follows.
Value Meaning
0 False, file was not found
1 True, file exists
Notes:
1. Refer to Manifest Constants on page 42 for information on the
constants reference list.
2. If FileName does not exist, FALSE is returned.
3. FEXISTS can be used to verify any file on the MCC unit.
4. Using NFS, it is possible to verify virtually any file on any server or
mainframe from the MCC unit.
Example:
%Success := FEXISTS( “SYS5”)
%Success := FEXISTS( “user-data/config/” + $OSName)
See Also:
FCLOSE, FDELETE, FOPEN, FREAD, FRENAME, FREWIND,
FWRITE
Vista de página 104
1 2 ... 100 101 102 103 104 105 106 107 108 109 110 ... 261 262

Comentários a estes Manuais

Sem comentários