implement restore pre condition for ZOS