Hp XP Command View Advanced Edition Software Manuel d'utilisateur Page 265

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 310
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 264
*/
CALL KTLOAD "STEM(DEMO_STEM.) MSG(DEMO_MSG.)",
" PREFIX("opt_prefix") TPG("opt_tpgid")";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTLOAD" RESULT;
EXIT 8;
END;
/*
* Get tiering policy setting values of volume in the TPG and
* tier status of volumes and pools in the TPG.
*/
CALL KTQRYTPG "STEM(DEMO_STEM.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTQRYTPG" RESULT;
EXIT 8;
END;
/*
* Get volume/pool relocation progress status in the TPG.
*/
CALL KTQRYRLC "STEM(DEMO_STEM.) MSG(DEMO_MSG.)";
/*
* Check the return code to see if it is 0 or not.
*/
IF RESULT /= 0 THEN DO
CALL printErrorMessage "KTQRYRLC" RESULT;
EXIT 8;
END;
/*
* Display relocation progress status per volume.
*/
SAY 'Tiering Policy Group Name: '||DEMO_STEM.TPG.ID;
SAY '';
SAY 'Volumes';
SAY ' POOL';
SAY ' Devn,Volser,SN ,CU,CCA, ID,TLv,'||,
'RelocateStatus ,LocatedPage/ TotalPage';
DO i=1 to DEMO_STEM.TPG.VOL.0;
/*
* Generate symbol which is part of the DSK structure REXX variable
* name.
*/
val_SN = DEMO_STEM.TPG.VOL.i.SerialNum;
val_CU = DEMO_STEM.TPG.VOL.i.CUNum;
val_CCA = DEMO_STEM.TPG.VOL.i.CCA;
sym_SN = 'SN' ||val_SN;
sym_CU = 'CU' ||val_CU;
sym_CCA = 'CCA'||val_CCA;
/*
* Get information values about the volume
* from DSK structure REXX variables.
User Guide 265
Vue de la page 264
1 2 ... 260 261 262 263 264 265 266 267 268 269 270 ... 309 310

Commentaires sur ces manuels

Pas de commentaire