![]() ![]() |
Reference Type: Supported, Category: User, ICR#: 4409
The $$DTIME^XUP extrinsic function resets the DTIME variable for the user identified by the duz input parameter. This extrinsic function accepts two parameters:
The return value should be assigned to the DTIME variable as shown in the examples. This DTIME variable is used on all timed READs where interactive responses are required for a given user.
$$DTIME^XUP([duz][,ios])
duz: |
(optional) The Internal Entry Number (IEN) or DUZ of the user in the NEW PERSON (#200) file. |
ios: |
(optional) The IEN of the device in the DEVICE (#3.5) file. This IEN should be the same value of ios if present, and should reflect the current sign-on device of the user. |
returns: |
The return value is based on the first available data found in the following fields/files (listed in search order):
|
Sending DUZ only, returns the value in the TIMED READ (# OF SECONDS) (#200.1) field in the NEW PERSON (#200) file:
>S DTIME=$$DTIME^XUP(DUZ) >W DTIME 1800 |
Sending DUZ and IOS, returns the value in the TIMED READ (# OF SECONDS) (#200.1) field in the NEW PERSON (#200) file:
>S DTIME=$$DTIME^XUP(DUZ,IOS) >W DTIME 1800 |
Sending IOS only, returns the value in the TIMED READ (# OF SECONDS) (#51.1) field in the DEVICE (#3.5) file:
>S DTIME=$$DTIME^XUP(,IOS) >W DTIME 500 |
Not Sending DUZ or IOS, returns the value in DEFAULT TIMED READ (SECONDS) (#210) field in the KERNEL SYSTEM PARAMETERS (#8989.3) file:
>S DTIME=$$DTIME^XUP(,) >W DTIME 400 |
Or:
>S DTIME=$$DTIME^XUP() >W DTIME 400 |
Not Sending DUZ or IOS and no value is in DEFAULT TIMED READ (SECONDS) (#210) field in the KERNEL SYSTEM PARAMETERS (#8989.3) file:
>S DTIME=$$DTIME^XUP() >W DTIME 300 |