Skip to main content
Omnitracs Knowledge Base

Set Daylight Savings Flag - OMSETDSF

Set Daylight Savings Flag (OMSETDSF)

Required Parameter Group:

1 In Daylight Savings Input Char(1)
2 Return Status Output Char(1)

API Overview:
The Set Daylight Savings Flag API (OMSETDSF) allows you to set the system-wide daylight savings flag as desired. This API allows customers to automate standard-to-daylight time changes from an external application. Often, customers have an automated program that sets the AS/400's clock forward (or backward) one hour. This API may be called immediately after the clock change so that QTRACS's interpretation of the clock is correct.

Required Parameter Group Details:
(1) In Daylight Savings
INPUT; CHAR(50)
This parameter is used to set time to either daylight savings time or standard time. Valid values are:

Y Daylight saving time
N Standard time

(2) Return Status
OUTPUT; CHAR(1)
Status value returned to the caller will be set as follows:

0 Success, value changed
1 Failure, value not changed
  • Was this article helpful?