On global subdifferentials with applications in nonsmooth optimization