﻿# MX\_GETGDO, SETGDO

_Reorganized April 2024_

**xcall MIAMEX, MX\_GETGDO, status, p0 \{,p1, p2, ... , p9\}**

**xcall MIAMEX, MX\_SETGDO, status, p0 \{,p1, p2, ... , p9\}**

MX\_GETGDO (MIAMEX 78) and MX\_SETGDO (MIAMEX 79) provide the means to retrieve (GET) or SET the global DO parameters. 

**Parameters**

_status_ (Signed [Num](num.md))   \[out\]

returns 0 for success or –1 to indicate failure.

_p0_ through _p9_  ([String](string.md))  \[in for SET, out for GET\]

values of the up-to-ten global DO file parameters.

**Comments**

In the SET operation, all ten DO file parameters are set at once, replacing any prior values. Even if you specify only _p0_, the prior values of _p1_ through _p9_ will be set to null. For more information on this topic, see [Global DO File Parameters](globaldofileparameters.md).