Visara Master Console Center Scripting Guide Manuel d'utilisateur Page 104

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 262
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 103
Chapter 5 Script Commands
Scripting Guide 104
FDELETE
Syntax:
FDELETE( $FileName) ==> %Success
Description:
Permanently deletes a file.
Action:
$FileName is permanently deleted from the system.
Parameters:
$FileName. String expression. The case sensitive name of the file to
delete. Include any necessary file path.
Returns:
Numeric value, as follows.
Value Meaning
0 False, file deletion was not successful
1 True, file deletion was successful
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. If FileName exists but could not be deleted, FALSE is returned.
4. FDELETE can be used to delete any file on the MCC unit.
5. Using NFS, it is possible to delete virtually any file on any server
or mainframe from the MCC unit.
Example:
%Success := FDELETE( “SYS5”)
%Success := FDELETE( “user-data/SYS5”)
See Also:
FCLOSE, FEXISTS, FOPEN, FREAD, FRENAME, FREWIND,
FWRITE
Vue de la page 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 261 262

Commentaires sur ces manuels

Pas de commentaire