---
oid: "1.3.6.1.4.1.99.42.1.2"
short-description: "mlmScriptWrite OBJECT-TYPE"
last-modified: "2021-03-30"
parent-oid: "1.3.6.1.4.1.99.42.1"
---

## OID: `1.3.6.1.4.1.99.42.1.2`

```asn1
{iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 99 mlmMIB(42) mlmMIBObjects(1) mlmScriptWrite(2)}
```

### Description

```asn1
mlmScriptWrite OBJECT-TYPE
SYNTAX INTEGER (0..2147483647)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"This variable is used to instruct the MLM to write a script stored in the mlmScriptTable to non-volatile storage. This is done by performing a set on the variable. The value to which it is set should be the index of a row in the mlmCompileTable, which should contain a non-zero value for mlmScriptNumber, and a non-empty value for mlmScriptName. If these two values are not set, the set will fail with a BAD_VALUE_ERROR. Otherwise, the script in the mlmScriptTable referenced by the value of mlmScriptNumber is written to non-volatile memory using the name in mlmScriptName, and the value of mlmScriptNumber is set to 0. In addition, any other entries in the mlmCompileTable whose values for mlmScriptNumber and mlmScriptName match those for the row being written will also have their values for mlmScriptNumber set to 0. Finally, if there are no more references to the script stored in the mlmScriptTable, the script will be removed.
The value returned for this variable on a get request should be the last value it was successfully set to, or zero (0) if it has never been set."
```

**Classification:** MIB object for network management

### Child OIDs

No child OID

### Terms of Use

[Terms of use](https://oid-base.com/disclaimer.htm.md)

**Note to implementers:**: The OID repository is constantly updated but does not necessarily store the latest (or most accurate) version of this formal description. For an implementation, it is recommended to search the web for a more recent description. If this is the case, please update the above description.
