When used in addition to DETECTDATE, specifies the explicit datetime format to recognize in character input host variables.
When TSTAMPSEP="-" and DETECTDATE is not specified
Character output host variables are returned in the following format:
When TSTAMPSEP="-" and DETECTDATE is specified
The dash character instructs OpenESQL to look for a specific set of delimiters, including a dash, a space, and a T. For example if you do not specify any alternative date or time formats, and you set TSTAMPSEP to a dash character (-), OpenESQL recognizes the following formats in your input host variables:
When DETECTDATE is not also specified:
Character output host variables are returned in the following format:
Where C is any character except a dash (-) character, and the number of fractional seconds is platform dependent.
When DETECTDATE is also specified
Character input host variables are returned and scanned using the following format:
Where C is any character except a dash (-) character, and the number of fractional seconds is platform dependent.