You can't fulfil the requirement, at least not in SAS. A numeric variable cannot contain mixed datetime and date values, this since formats can work only with either type. This is again feels like that someone who doesn't understand the implications for a requirement is set to specify one. And you with a quite distance from the end user just have to comply, no questions asked. As suggested by others, set a valid time value when it's missing. Check with your stakeholders for guidance. Or store the concatenated value in a string.
... View more