Before we going to shutdown the server, we need to capture all of the existing server status and device status. Below is the simulation how to capture and make documentation before relocation.
Note: to show command that will be executed press F14 or Shift + F2
CHGUSRPRF USRPRF(CECUSER) PASSWORD(CECUSER)
CHGUSRPRF USRPRF(QSECOFR) PASSWORD(QSECOFR)

WRKSYSSTS

WRKSYSVAL OUTPUT(*PRINT)

WRKPTFGRP > F6=Print

DSPPTF OUTPUT(*PRINT)

WRKHDWRSC *STG > F6

WRKHDWRSC *CMN > F6
WRKSYSSTS OUTPUT(*PRINT)
STRSST > 1 > 7 > F6
CFGTCP > 2 > F6
CFGTCP > 10 > F6
sysplan HMC
WRKSBS OUTPUT(*PRINT)
WRKDSKSTS OUTPUT(*PRINT)
ENDDG DGNAME(data-group-name) OPTION(*IMMED)
ENDDG DGFN(*ALL) OPTION(*IMMED)
ENDMMGR OPTION(*IMMED)
ENDSBS SBS(*ALL) OPTION(*IMMED)
WRKSBS
PWRDWNSYS OPTION(*CNTRLD) DELAY(1)
Host > make sure all hosts are down/offlineSystem-Hardware Overview > Power Off SystemsOpen putty and run below commands
switchshow
zoneshow
supportshow
Shutdown sanswitch
switchshow # make sure all the WWPN status is down
sysshutdown