Data Manipulation Language Statements › #GETIME—gets time and date from the operating system › #GETIME Status Codes
The #GETIME request is unconditional; any runtime error will result in an abend of the issuing task.